Re: Re: undefined variable
| From: | Richard Lynch | Date: | Mon, 01 May 2006 01:32:59 +0000 |
| Subject: | Re: Re: undefined variable | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235177@lists.php.net to get a copy of this message | ||
On Sun, April 30, 2006 6:17 am, Smart Software wrote:
> while(query )//here the query is opened
Please, JUST post your real code in http://pastebin.com or
something!
We CANNOT figure out what the [bleep] you really have from this!
> {
> <table ">
> <tr>
> <td ><?php query->name ?> </td> // record from database
> <td > Please fill in your age:</td> //text
> <td "><input name="age" type="text" </td>
> //textbox,
> <td ><a href="<? echo
>
> "otherform.php?age=PLACE_HERE_THE_VALUE_FROM_QUANTITY_TEXTBOX&name=query->name";
> ?> "</td>
> </tr>
> </table>
> }
>
> how can i get the value from the textbox? i don't have form tag
> if i have 50 records, there are 50 textboxes named "age" right?
If you want 30 boxes named 'age', then you should name them like:
name="age[]" or, possible, name="age[42]" where 42 is the ID of the
record whose age is being displayed/input.
--
Like Music?
http://l-i-e.com/artists.htm