Re: Out of Range

From: Date: Tue, 25 Feb 2003 21:16:20 +0000
Subject: Re: Out of Range
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-137140@lists.php.net to get a copy of this message
Probably means that only one row was returned from your query, so 2 is out of range. ---John Holmes... ----- Original Message ----- From: "Todd Barr" <tbarr@geo-imaging.com> To: <php-general@lists.php.net> Sent: Tuesday, February 25, 2003 5:11 PM Subject: [PHP] Out of Range here is my code $Query = "SELECT Last_Login and Current_Login from Security where PM_ID=$_SESSION[ID]"; $Getdates = odbc_do($link, $Query); while(odbc_fetch_row($Getdates)) { $Last=odbc_result($Getdates, 1); $Now=odbc_result($Getdates, 2); Now I get an error that tells me that #2 is out of the range.... Any suggestions

« previous php.general (#137140) next »