php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20806 display of rows in browse incorrect due to field names
Submitted: 2002-12-04 05:11 UTC Modified: 2003-01-02 18:42 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: hadleigh dot dawson at ait-consultants dot com Assigned:
Status: No Feedback Package: *General Issues
PHP Version: 4.2.3 OS: NT4
Private report: No CVE-ID: None
 [2002-12-04 05:11 UTC] hadleigh dot dawson at ait-consultants dot com
I have created a table with the field names as numerical values from 1-10 (i.e. field is named 1 and is a tinyint[2]). Preceeding these numerical fields I have a text[255] field.  When browsing the db the text field displays the number 1 instead of its correct text. Changing the value of field named 1 corrects this issue.

e.g.

this is how it should look.

+==========+=+
|text field|1|
+==========+=+
|   text   |1|
+----------+-+

and this is how it looks.

+==========+=+
|text field|1|
+==========+=+
|     1    |1|
+----------+-+

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-04 05:13 UTC] derick@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.
 [2002-12-04 05:14 UTC] derick@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.

 [2003-01-02 18:42 UTC] sniper@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-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 05:01:32 2024 UTC