[PHP-DB] Re:[PHP-DB] Strange DB Error

2004-02-25 Thread Axel IS Main
What you propose makes sense of course, but no matter what I do, where I send the errors, even to the system log, the mysql_fetch_array () error is the only one that shows up. It would appear that either the query is failing is some way that PHP isn't recognizing, or the fetch isn't working pro

Re: [PHP-DB] Strange DB Error

2004-02-25 Thread jeffrey_n_Dyke

Re: [PHP-DB] Strange DB Error

2004-02-25 Thread Axel IS Main
Error trapping is not really relevant here as the server is properly configured so the errors are going to show up in either event. In fact, using the die() function on my server just makes thing worse. In any case, the var_dump was a good idea as I was able to find out that what is happening i

Re: [PHP-DB] Strange DB Error

2004-02-25 Thread jeffrey_n_Dyke
>When returning to the main page of my script sometimes I'll get the >following error: >Warning: mysql_fetch_array(): 8 is not a valid MySQL result resource in >/home/nick/http/search/includes/main.inc on line 13 >This happens only AFTER the first element in the resource has been >processed.

[PHP-DB] Strange DB Error

2004-02-25 Thread Axel IS Main
When returning to the main page of my script sometimes I'll get the following error: Warning: mysql_fetch_array(): 8 is not a valid MySQL result resource in /home/nick/http/search/includes/main.inc on line 13 This happens only AFTER the first element in the resource has been processed. Here's