FOR Loops -> SQL Query. Pain. Agony.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

conscience
Forum Commoner
Posts: 33
Joined: Mon Dec 27, 2004 12:34 pm

Post by conscience »

This works perfectly, and is totally awesome. Thanks.

We do get the following error message, however:

Code: Select all

Warning: mysql_fetch_array(): 19 is not a valid MySQL result resource..
I can't seem to find anything particularly wrong with.. well.. anything, though I've never used the mysql_free_result() command before.

Edit: Meh. It works. I'll just drop a @ in front of it, since it looks like that's the pattern you were following.

Eternal thanks for your assistance.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

it is not recommended to ignore warnings like that.
Post Reply