>> $Ret = mysql_fetch_array($result); if(!$Ret) { } else { return $Ret; }
> I'm assuming that you are calling my_fetch_array() in a loop of some
> sort and so at some point there are no more records in the result.

Oh... Um... Yeah... Well... <headdesk>

So... Checking the docs... "Returns an array of strings that
corresponds to the fetched row, or FALSE if there are no more rows."

Is there a way to differentiate between a FALSE for no more rows and an error?


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to