Ok, I have no clue what version of PHP I have installed, 4.??.??, and I have like the newest version of MySQL insatlled, and PHP and MySQL work fine together, excpet when I use mysql_fetch_row($query) then I have problems, mysql_fetch_array($query) works fine, but not mysql_fetch_row($query). Why doesn't it work? I tried installing the new PHP 5 version, but when i extracted it from the zip file into the C:\PHP folder and then PHP didn't even work at all.... (so... u can kinda tell i'm a still a noobie at this ^.^;;; ) Thank in advance to whoever.
mysql_fetch_row() will return false if you are already on the last row in your result set.
You also need to pass both mysql_fetch_array() and mysql_fetch_row() the resource id from a successful mysql_query() call.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php