#23352 [Opn->Fbk]: mysql_fetch_row starts with row 2 instead of row 1

From: Date: Sat, 26 Apr 2003 18:04:36 +0000
Subject: #23352 [Opn->Fbk]: mysql_fetch_row starts with row 2 instead of row 1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38462@lists.php.net to get a copy of this message
ID: 23352 Updated by: georg@php.net Reported By: coolaboy113 at aol dot com -Status: Open +Status: Feedback Bug Type: MySQL related Operating System: Linux PHP Version: 5CVS-2003-04-25 (dev) New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Pleae provide a short reproducable testcase, including a CREATE TABLE STATEMENT an INSERT STATEMENT and a small script. Previous Comments: ------------------------------------------------------------------------ [2003-04-25 23:26:53] coolaboy113 at aol dot com 4.1.2-7.3.6 is my version number ------------------------------------------------------------------------ [2003-04-25 16:56:39] sniper@php.net What's the exact version of PHP in phpinfo() ? ------------------------------------------------------------------------ [2003-04-25 16:06:13] coolaboy113 at aol dot com #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 this bug report at http://bugs.php.net/?id=23352&edit=1

« previous php.bugs (#38462) next »