Test name | SQL | Result | Expected | Commit |
" . htmlspecialchars($t) . " | " . htmlspecialchars($p[0]) . " | "; try { $res = ibase_query( $link, $p[0] ); } catch(Exception $e ) { print_r($e); } if (!$res) { echo "".htmlspecialchars(ibase_errmsg()). ""; } else { if ( is_resource($res) ) { print_results($res, $row); } else { echo "Executed Ok. No resultset."; } } echo " | "; if (is_array($p[1]) || $p[1] != '*') { $a = []; if (!is_array($p[1])) $a[0] = $p[1]; else $a = $p[1]; for ($i = 0; $i < sizeof($a); $i++) { if ($i > 0) echo ", "; if ($a[$i] == $row[$i]) echo ''.$a[$i].''; else echo ''.$a[$i].''; } } echo " | "; if ( ibase_commit_ret($link) ) echo "OK."; else { echo "Error while commiting: " . htmlspecialchars(ibase_errmsg()) . ""; } echo " |
\n
Testing complete.
\n"; echo "