Lines Matching refs:mysql_query
2 mysql_query()
15 if (!is_null($tmp = @mysql_query()))
18 if (false !== ($tmp = @mysql_query($link)))
23 if (NULL !== ($tmp = @mysql_query("SELECT 1 AS a", $link, "foo")))
26 if (false !== ($tmp = mysql_query('THIS IS NOT SQL', $link)))
29 if (false !== ($tmp = mysql_query("SELECT 'this is sql but with backslash g'\g", $link)))
35 if (!$res = mysql_query("SELECT 'this is sql but with semicolon' AS valid ; ", $link))
41 if (!$res = mysql_query("SELECT 'a' AS ''", $link))
48 if (false !== ($res = mysql_query("SELECT 'this is sql but with semicolon' AS valid ; SHOW VARIABLE…
51 if (mysql_query('DROP PROCEDURE IF EXISTS p', $link)) {
53 …if (mysql_query('CREATE PROCEDURE p(OUT ver_param VARCHAR(25)) BEGIN SELECT VERSION() INTO ver_par…
54 $res = mysql_query('CALL p(@version)', $link);
55 $res = mysql_query('SELECT @version AS p_version', $link);
70 mysql_query('DROP FUNCTION IF EXISTS f', $link);
71 …if (mysql_query('CREATE FUNCTION f( ver_param VARCHAR(25)) RETURNS VARCHAR(25) DETERMINISTIC RETUR…
72 $res = mysql_query('SELECT f(VERSION()) AS f_version', $link);
90 if (false !== ($tmp = mysql_query("SELECT id FROM test", $link)))
105 if (!mysql_query('DROP TABLE IF EXISTS test', $link)) {
110 @mysql_query('DROP PROCEDURE IF EXISTS p', $link);
111 @mysql_query('DROP FUNCTION IF EXISTS f', $link);
126 Warning: mysql_query(): %d is not a valid MySQL-Link resource in %s on line %d