php.net |  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
Votes:2
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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-25 16:56 UTC] sniper@php.net
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] georg@php.net
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.

 [2003-05-05 06:41 UTC] georg@php.net
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-2021 The PHP Group
All rights reserved.
Last updated: Thu Sep 16 11:03:37 2021 UTC