Back to index

php5  5.3.10
table.inc
Go to the documentation of this file.
00001 <?php
00002 if (!$db) {
00003        require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
00004        $db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
00005 }
00006 // $db->exec('DROP TABLE IF EXISTS test');
00007 $db->exec('CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE=' . $engine);
00008 $db->exec('INSERT INTO test(id, label) VALUES (1, "a"), (2, "b"), (3, "c"), (4, "d"), (5, "e"), (6, "f")');
00009 ?>