|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 22:00:02 2026 UTC |
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