php-db | 2001041
Date: 04/15/01
- Next message: CC Zona: "Re: [PHP-DB] Forms and PHP"
- Previous message: Yasuo Ohgaki: "Re: [PHP-DB] Postgres auto increment."
- Next in thread: CC Zona: "Re: [PHP-DB] Forms and PHP"
- Reply: CC Zona: "Re: [PHP-DB] Forms and PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am using PHP4.0.0 on Mysql3.23.31 on a RH6.2(kernel2.4).
I am unsuccessful in attempting to have the FORM work with POST method, while there is a <select> with <option> alongwith other variables that I am accepting directly from text fields.
Its something like this
<form action=analyse.php method=post>
<select name=xxxx>
<?php
/ / I try to populate from a table in MySQL (which works)--
/ / like this, which is in a loop--getting tableid and tablefield
<option value=$tableid>$tablefield</option>
?>
</select>
My problem starts here when I accept other variables before posting the form contents.
eg:
<input name=xxx type=text>
<input type="submit" name="submit" value="Proceed">
</form>
In my analyse.php, when I try to list out the various variables posted from here, it doesn't show up. I even tried adding all the variables as input type=hidden before submitting the form, but it still doesn't show up.
When there is no <select> </select> section, the whole variables show up.
Where could I be wrong ?
Raju
--
- Next message: CC Zona: "Re: [PHP-DB] Forms and PHP"
- Previous message: Yasuo Ohgaki: "Re: [PHP-DB] Postgres auto increment."
- Next in thread: CC Zona: "Re: [PHP-DB] Forms and PHP"
- Reply: CC Zona: "Re: [PHP-DB] Forms and PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

