Posted by Ian B on 10/31/05 15:46
Try something along the lines of $result = mysql_query($sql) or die("<br />Could not run query $sql Reason: " . mysql_error()); to find out what it's complaining about. ($result = mysql_query($query)) will always return true even if the query fails. Ian
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming