php-general | 2003022
Date: 02/25/03
- Next message: Kevin Stone: "Re: [PHP] Auto Incrementing a Variable name?"
- Previous message: 1LT John W. Holmes: "Re: [PHP] simple problem about authentication"
- In reply to: Todd Barr: "[PHP] Out of Range"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>>
To: <php-general <email protected>>
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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Kevin Stone: "Re: [PHP] Auto Incrementing a Variable name?"
- Previous message: 1LT John W. Holmes: "Re: [PHP] simple problem about authentication"
- In reply to: Todd Barr: "[PHP] Out of Range"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

