Lines Matching refs:link
13 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
15 mysqli_select_db($link, $db);
17 mysqli_query($link,"DROP TABLE IF EXISTS test_bind_fetch");
18 mysqli_query($link,"CREATE TABLE test_bind_fetch(c1 char(10), c2 text)");
21 $stmt = mysqli_prepare($link, "INSERT INTO test_bind_fetch VALUES (?,?)");
30 $stmt = mysqli_prepare($link, "SELECT * FROM test_bind_fetch");
41 mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch");
42 mysqli_close($link);
49 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
52 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
53 printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
55 mysqli_close($link);