On certain queries, I get the error message:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
This only occurs when there is a lot of data being returned. I believe it only happens when there are a lot of rows. I have trimmed down the amount of data for each row, but I still get the message at times.
I have looked at the result resource when it succeeds and when it fails. When it succeeds, the result resource is "#25", or some similar string, such as "#27". When it fails, it is also "#27". So I do not understand what is going on. I had the same error when I tried mysql_num_rows under the same circumstances.
Any suggestions?
Thank you very much,
Mel