note 24434 rejected from function.mysql-db-query by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Thu, 15 Aug 2002 22:34:03 +0000 |
| Subject: | note 24434 rejected from function.mysql-db-query by jmcastagnetto | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-35110@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?