one more error to fix Table unknown TEST , it should be TESTZ

This commit is contained in:
Popa Adrian Marius 2011-12-28 10:04:25 +00:00
parent a2c7c201ab
commit e2c5167b7b

View File

@ -12,7 +12,7 @@ $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
$value = '2';
@$dbh->exec('DROP TABLE testz');
$dbh->exec('CREATE TABLE testz (idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
$dbh->exec('INSERT INTO test VALUES(0, \'String0\')');
$dbh->exec('INSERT INTO testz VALUES(0, \'String0\')');
$dbh->commit();
$query = "SELECT idx, txt FROM testz ORDER by idx";