Lines Matching refs:conn
22 $conn = odbc_connect($dsn, $user, $pass);
23 echo $conn ? "Connected.\n\n" : "";
24 if ($conn) odbc_close($conn);
27 $conn = odbc_connect("{$dsn};uid={$user}", 'hoge', $pass);
28 echo $conn ? "Connected.\n\n" : "";
29 if ($conn) odbc_close($conn);
32 $conn = odbc_connect("{$dsn};PWD={$pass}", $user, 'fuga');
33 echo $conn ? "Connected.\n\n" : "";
34 if ($conn) odbc_close($conn);
37 $conn = odbc_connect("{$dsn};Uid={$user};pwD={$pass}", 'hoge', 'fuga');
38 echo $conn ? "Connected.\n\n" : "";
39 if ($conn) odbc_close($conn);
42 $conn = odbc_connect("{$dsn};Uid={$user};pwD={$pass}", null, null);
43 echo $conn ? "Connected.\n\n" : "";
44 if ($conn) odbc_close($conn);
47 $conn = odbc_connect("{$dsn};Uid={$user};pwD={$pass}");
48 echo $conn ? "Connected.\n" : "";
49 if ($conn) odbc_close($conn);