Jump to content

Archived

This topic is now archived and is closed to further replies.

tiny

mysql_fetch_array() error

Recommended Posts

I have been trying to retrieve all rows from a table by using the mysql_fetch_array function but I always get this "Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource" error.

 

I am using PHP verison 4.3.11 and Mysql version 4.1.13-standard

 

Does my php or mysql version have anything to do with this? because it does work when I was still using an older version of mysql on my host before.. Please help! I've been trying to figure it out, but I cant. What should I do about this?

 

Thanks!

Share this post


Link to post
Share on other sites

Very likely it's your query that is malformed. Check out the pinned topics in the PHP Newbie Help forum.

Share this post


Link to post
Share on other sites

Hi Cook, I rechecked my Select query and you are right! Thanks muchos! It's now working :)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.