Lines Matching refs:conn
12 $conn = odbc_connect($dsn, $user, $pass);
13 $result = @odbc_exec($conn, "SELECT @@Version");
28 function set_context_info($conn, $string) {
30 return odbc_exec($conn, "SET CONTEXT_INFO 0x$hexstring");
33 function fetch_context_info($conn) {
34 $stmt = odbc_exec($conn, "SELECT CONTEXT_INFO() AS CONTEXT_INFO");
48 $conn = odbc_pconnect($dsn, $user, $pass);
49 set_context_info($conn, "PHP odbc_pconnect test");
50 var_dump(fetch_context_info($conn));
53 $conn = odbc_pconnect($dsn, $user, $pass);
54 var_dump(fetch_context_info($conn));
57 odbc_close($conn);
58 $conn = odbc_pconnect($dsn, $user, $pass);
59 var_dump(fetch_context_info($conn));