#23352 [NEW]: mysql_fetch_row starts with row 2 instead of row 1
| From: | coolaboy113 at aol dot com | Date: | Fri, 25 Apr 2003 21:06:13 +0000 |
| Subject: | #23352 [NEW]: mysql_fetch_row starts with row 2 instead of row 1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-38414@lists.php.net to get a copy of this message | ||
From: coolaboy113 at aol dot com
Operating system: Linux
PHP version: 5CVS-2003-04-25 (dev)
PHP Bug Type: *General Issues
Bug description: mysql_fetch_row starts with row 2 instead of row 1
#display results
while($i = mysql_fetch_row($result)) {
echo $i[0];
}
If you use this script. On my version it will display but it will start
with the rowset of 2. So anything in row 1 doesn't show up. Weird. I
also have no other scripts like this one so i know its not a conflict with
anything else in my page.
--
Edit bug report at http://bugs.php.net/?id=23352&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23352&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23352&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23352&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23352&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23352&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23352&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23352&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23352&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23352&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23352&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23352&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23352&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23352&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23352&r=gnused