$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
-Original Message-
From: Matt Neimeyer [mailto:m...@neimeyer.org]
Sent: 29 July 2009 16:47
$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
Ford, Mike wrote:
-Original Message-
From: Matt Neimeyer [mailto:m...@neimeyer.org]
Sent: 29 July 2009 16:47
$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
Matt Neimeyer wrote:
Background: I'm converting a webapp from Visual FoxPro as a backend to
MySQL... However one part of our app (a system status checker) is
common code between the versions.
I've got the following function... In English (in case it's not
apparent), if the version of the
4 matches
Mail list logo