Lines Matching refs:conn
12 $conn = odbc_connect($dsn, $user, $pass);
14 odbc_exec($conn, 'CREATE DATABASE odbcTEST');
16 odbc_exec($conn, 'CREATE TABLE FOO (TEST INT NOT NULL)');
17 odbc_exec($conn, 'ALTER TABLE FOO ADD PRIMARY KEY (TEST)');
19 odbc_exec($conn, 'INSERT INTO FOO VALUES (1)');
20 odbc_exec($conn, 'INSERT INTO FOO VALUES (2)');
22 $res = odbc_exec($conn, 'SELECT * FROM FOO');
28 var_dump(odbc_free_result($conn));
46 $conn = odbc_connect($dsn, $user, $pass);
47 odbc_exec($conn, 'DROP TABLE FOO');
48 odbc_exec($conn, 'DROP DATABASE odbcTEST');