diego25
Senior Member
Registered: Sep 2002
Location: Toronto, ON
Posts: 679
code:--------------------------------------------------------------------------------
if ($Select_priv == "")
{$Select_priv == '%';}
That should be
code:--------------------------------------------------------------------------------
if ($Select_priv == "")
{$Select_priv = '%';}
Same with the others below it...
Also, try outputting mysql_error(), to see what error MySQL is complaining about...
Diego
To look up functions in the PHP manual, just append the function name after http://www.php.net/ . e.g. if you wanted to look up the "count" function, you'd go to http://www.php.net/count
This suggestion diden't work, thanks for the effort, still got the same error