diff options
Diffstat (limited to 'ext/mysql/tests/table.inc')
-rw-r--r-- | ext/mysql/tests/table.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysql/tests/table.inc b/ext/mysql/tests/table.inc index ddfbe430c..18c858d91 100644 --- a/ext/mysql/tests/table.inc +++ b/ext/mysql/tests/table.inc @@ -1,5 +1,5 @@ <?PHP -require_once('connect.inc'); +require_once 'connect.inc'; // connect + select_db if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) { @@ -18,7 +18,7 @@ if (!mysql_query('CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGI exit(1); } -if (!mysql_query('INSERT INTO test(id, label) VALUES (1, "a"), (2, "b"), (3, "c"), (4, "d"), (5, "e"), (6, "f")', $link)) { +if (!mysql_query("INSERT INTO test(id, label) VALUES (1, 'a'), (2, 'b'), (3, 'c'), (4, 'd'), (5, 'e'), (6, 'f')", $link)) { printf("[%d] %s\n", mysql_errno($link), mysql_error($link)); } -?>
\ No newline at end of file +?> |