Lines Matching refs:mysqli
2 $mysqli->fetch_all() (introduced with mysqlnd)
19 $mysqli = new mysqli();
21 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
26 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) {
27 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error);
34 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) {
35 printf("[006] [%d] %s\n", $mysqli->errno, $mysqli->error);
42 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) {
43 printf("[008] [%d] %s\n", $mysqli->errno, $mysqli->error);
50 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) {
51 printf("[009] [%d] %s\n", $mysqli->errno, $mysqli->error);
61 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) {
62 printf("[012] [%d] %s\n", $mysqli->errno, $mysqli->error);
71 if (!$res = $mysqli->query("SELECT 1 AS a, 2 AS a, 3 AS c, 4 AS C, NULL AS d, true AS e")) {
72 printf("[010] Cannot run query, [%d] %s\n", $mysqli->errno, $$mysqli->error);
78 if (!$res = $mysqli->query("SELECT 1 AS a, 2 AS b, 3 AS c, 4 AS C")) {
80 $mysqli->errno, $$mysqli->error);
87 // NOTE: for BC reasons with ext/mysql, ext/mysqli accepts invalid result modes.
91 gettype($tmp), $tmp, $mysqli->errno, $mysqli->error);