|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23352 mysql_fetch_row starts with row 2 instead of row 1
Submitted: 2003-04-25 16:06 UTC Modified: 2003-05-05 06:41 UTC
Avg. Score:4.0 ± 1.0
Reproduced:1 of 2 (50.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: coolaboy113 at aol dot com Assigned:
Status: No Feedback Package: MySQL related
PHP Version: 5CVS-2003-04-25 (dev) OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: coolaboy113 at aol dot com
New email:
PHP Version: OS:


 [2003-04-25 16:06 UTC] 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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-25 16:56 UTC]
What's the exact version of PHP in phpinfo() ?

 [2003-04-25 23:26 UTC] coolaboy113 at aol dot com
4.1.2-7.3.6 is my version number
 [2003-04-26 13:04 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

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


and a small script.

 [2003-05-05 06:41 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Feb 24 08:01:27 2024 UTC