' . h($title) . '
' . h($sql) . ''; $r = db_query($sql); if (!$r) { echo '
Query failed' . (function_exists('db_error') ? ': ' . h(db_error()) : '') . '
'; return; } $rows = []; while ($row = db_fetch_assoc($r)) { $rows[] = $row; } if (!$rows) { echo 'No rows.
'; return; } echo '| ' . h($col) . ' | '; } echo '||
|---|---|---|
| NULL | '; } elseif (in_array($col, $truncate, true)) { echo '' . h(substr((string)$val, 0, 12)) . '… | '; } else { echo '' . nl2br(h($val)) . ' | '; } } echo '
square_check.php from the server when finished.