Lines Matching refs:link
14 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
16 mysqli_select_db($link, $db);
18 mysqli_query($link,"DROP TABLE IF EXISTS test_update");
19 mysqli_query($link,"CREATE TABLE test_update(a varchar(10),
22 mysqli_query($link, "INSERT INTO test_update VALUES ('foo', 2)");
24 $stmt = mysqli_prepare($link, "UPDATE test_update SET a=?,b=? WHERE b=?");
34 $result = mysqli_query($link, "SELECT concat(a, ' is No. ', b) FROM test_update");
40 mysqli_query($link, "DROP TABLE IF EXISTS test_update");
41 mysqli_close($link);
47 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
50 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_update"))
51 printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
53 mysqli_close($link);