Posted by Michael Fesser on 06/15/07 23:14
..oO(jsd219)
>[...]
> echo " <option value='$id'>$section</option>\n";
>
>I need to pull both a name=id & name=section. and then send both via
>the option value.
I'm wondering why you want that. The above is the common way of doing
such things and all you really need.
>What this does is it pulls all the section titles
>for the table section and places them into a drop down box, when you
>select one of the sections and send the form it places that section
>title in the section field of the category table.
The section title is just for displaying, all you need for the internal
handling and processing is the section ID.
>i need it to not
>only send the section title but also the section id to the id field of
>the category table.
I'm not sure I can follow you. What do you want to do with that after
the form submission?
Micha
[Back to original message]
|