Sounds like it doesn't like your SQL statement. Perhaps a field or table name is incorrect? > Warning: mysql_fetch_array(): supplied argument is not a valid MySQL > result > resource in ....... > "Daniel Clark" <dclark@xxxxxxxxxx> wrote in message > news:16692.65.203.232.102.1087950853.squirrel@xxxxxxxxxxxxxxxxxxxxxxx >> What error are you getting? >> >> > why doesn't this work: >> > $pic=mysql_query('SELECT Rune, username FROM RuneRunner >> > RuneRunner_1 WHERE (User_ID = 3)',$connection); >> > $pic=mysql_fetch_array($pic); -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php