note 24434 added to function.mysql-db-query

From: Date: Thu, 15 Aug 2002 22:14:47 +0000
Subject: note 24434 added to function.mysql-db-query
Groups: php.notes 
Request: Send a blank email to php-notes+get-35096@lists.php.net to get a copy of this message
Maybe I'm a newbie, that cannot debug. But I have problem that noone knows a solution for, until you mail me! Here it is: if ($re == "OBJECT") { echo "o"; echo $re; $a = @mysql_db_query($db,"\"" . $crud2 . $filled_matrix . $filled_filter . "\""); echo $a; return @mysql_fetch_object($a); } if ($re == "QUERY") { echo "q"; echo $re; return @mysql_db_query($db,"\"" . $crud2 . $filled_matrix . $filled_filter . "\""); } if ($re == "EXE") { echo "e"; echo $re; @mysql_db_query($db,"\"" . $crud2 . $filled_matrix . $filled_filter . "\""); } All variables are CORRECTLY filled, so that is certainly NOT the problem. As you see, I've put some echo's to control if the variable is filled. Everything works perfect until PHP has to parse the @mysql_db_query() command. Yes, I've tried te remove the @... Solutions? Or is the only problem me, myself and I? -- http://www.php.net/manual/en/function.mysql-db-query.php http://master.php.net/manage/user-notes.php?action=edit+24434 http://master.php.net/manage/user-notes.php?action=delete+24434 http://master.php.net/manage/user-notes.php?action=reject+24434

« previous php.notes (#35096) next »