php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2745 Form with table proccessing error
Submitted: 1999-11-18 04:27 UTC Modified: 2000-07-03 19:36 UTC
From: jim at ecwind dot net Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0.12 OS: Redhat Linux 6.0
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jim at ecwind dot net
New email:
PHP Version: OS:

 

 [1999-11-18 04:27 UTC] jim at ecwind dot net
Here is the original form which can send back the parameter:

<form method="POST" name="search" ACTION="env.php3" >
    <div align="center"><center><table border="0">
        <tr><td>company name </td>
            <td><input type="text" size="25" name="name"></td>
        </tr>
        <tr><td>city</td>
            <td><input type="text" size="25" name="city"></td>
        </tr>
    </table>
    </center></div><p><center><input type="submit" name="submit" value="search"></
center></p>
</form>

PHP Variables will be:
Variable Value 
PHP_SELF /sheng_huo/she_ying/env.php3 

**********************************************
And here is the new form corrent processed by php3:
<form method="POST" name="search" ACTION="env.php3">
        company name
            <input type="text" size="25" name="name">
        city:
            <input type="text" size="25" name="city">
    <p><center><input type="submit" name="submit" value="search"></center></p>

PHP Variables will be:

Variable Value 
PHP_SELF /sheng_huo/she_ying/env.php3 
HTTP_POST_VARS["name"] fgff 
HTTP_POST_VARS["city"] gfgffgf 
HTTP_POST_VARS["submit"] search 
======================================================
It seems that php3 can pass the form variable if there is a table in a form. Is it true or is there any installation problem with my php3?
I will appreciate for your kind help


BR
Jim

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-18 04:32 UTC] jim at ecwind dot net
Here is the original form which can not send back the parameter:

<form method="POST" name="search" ACTION="env.php3" >
    <div align="center"><center><table border="0">
        <tr><td>company name </td>
            <td><input type="text" size="25"
name="name"></td>
        </tr>
        <tr><td>city</td>
            <td><input type="text" size="25"
name="city"></td>
        </tr>
    </table>
    </center></div><p><center><input type="submit"
name="submit" value="search"></
center></p>
</form>

PHP Variables will be:
Variable Value 
PHP_SELF /sheng_huo/she_ying/env.php3 

**********************************************
And here is the new form corrently processed by php3:
<form method="POST" name="search" ACTION="env.php3">
        company name
            <input type="text" size="25" name="name">
        city:
            <input type="text" size="25" name="city">
    <p><center><input type="submit" name="submit"
value="search"></center></p>

PHP Variables will be:

Variable Value 
PHP_SELF /sheng_huo/she_ying/env.php3 
HTTP_POST_VARS["name"] fgff 
HTTP_POST_VARS["city"] gfgffgf 
HTTP_POST_VARS["submit"] search 
======================================================
It seems that php3 can pass the form variable if there is a table in a form. Is it true or
is there any installation problem with my php3?
I will appreciate for your kind help


BR
Jim
 
 


  

 [2000-07-03 19:36 UTC] rasmus at cvs dot php dot net
I don't really see what you are doing wrong, but PHP 
definitely doesn't care if there is a table in your form
or a form in your table, or whatever.  This cannot possibly
affect PHP.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 21:00:01 2026 UTC