View Single Post
Old 08-16-2007   #7 (permalink)
notjustgraphics
Rusty Bio-Hazard!
 
notjustgraphics's Avatar
 
Join Date: Sep 2006
Location: Toronto, Ontario, Canada
Posts: 1,162

Send a message via MSN to notjustgraphics
While Gjbphp is absolutely correct about protecting your server from PHP Injection and other malicious hacks, it has no bearing on the problem you are experiencing with your Queries...

We still need an error message to help diagnose the problem and Gjbphp had a helpful suggestion:

Quote:
Originally Posted by Gjbphp View Post
Well, for a start you are suppressing any error that the mysql_query() function might create.

try this:

PHP Code:
$result mysql_query($query) or die(mysql_error()); 
This will halt the execution of the script and give you the same error that mysql has. For the information not to be going into the database, this will show the problem.
Mike.
__________________
notjustgraphics is offline