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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to