mysql_fetch_array() Help Please

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

Locked
michaelpeerman
Forum Newbie
Posts: 2
Joined: Sun Oct 04, 2009 12:26 am

mysql_fetch_array() Help Please

Post by michaelpeerman »

This is what i get

Code: Select all

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/tsmonkey/public_html/1337board.co.cc/thread.php on line 182
Heres what is on line 182

Code: Select all

for($i=0;$post=mysql_fetch_array($posts);$i++){
Please tell me whats wrong
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: mysql_fetch_array() Help Please

Post by John Cartwright »

Duplicate. Locked.
Locked