I have purposefully made one of my options the null or "" option. When the null option is executed there is an if statement to handle it:
The rest of the sql part works. I just keep getting an error:Code:$id = mysql_fetch_array($result, MYSQL_ASSOC); if ($id == ""){ return header("http://www.site.com/index.htm"); }
Why is it not handling the null field?mysql_fetch_array() expects parameter 1 to be resource, boolean ...


Reply With Quote
Bookmarks