Lines Matching refs:conn
10 $conn = odbc_connect($dsn, $user, $pass);
12 odbc_exec($conn, 'CREATE DATABASE odbcTEST');
14 odbc_exec($conn, 'CREATE TABLE FOO (TEST INT NOT NULL)');
15 odbc_exec($conn, 'ALTER TABLE FOO ADD PRIMARY KEY (TEST)');
17 odbc_exec($conn, 'INSERT INTO FOO VALUES (1)');
18 odbc_exec($conn, 'INSERT INTO FOO VALUES (2)');
20 $res = odbc_exec($conn, 'SELECT * FROM FOO');
26 var_dump(odbc_free_result($conn));
44 $conn = odbc_connect($dsn, $user, $pass);
45 odbc_exec($conn, 'DROP TABLE FOO');
46 odbc_exec($conn, 'DROP DATABASE odbcTEST');