What you can do is replicate all <OPTION>s with hidden fields:
<OPTION value="1">Al di Meola</OPTION>
<OPTION value="2">John McLaughlin</OPTION>
<INPUT name="replica" type="hidden" value="Al di Meola" />
<INPUT name="replica" type="hidden" value="John McLaughlin" />
But I fail to see why so doing would be useful. Your dynamic form is created
after some query; therefore why not simply call the same query after
submission to obtain all possible values of the options?
Or perhaps I failed to understand your problem.
----- Original Message -----
From: "André Sannerholt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 13, 2003 6:42 PM
Subject: [PHP-DB] Keeping entries of a select-box after submitting the form
> Hi everyone,
> Well, I have already formulated my problem several times, always in a
> different way, but yet I have no solution.
> I try to say it as easy as it gets:
> I simply want one specific selction-box to 'keep' ALL options present
> having submited the form!
> I'm thinking about a variable or something that contains all that options,
> and not just only ONE like the value-variable.
> I hope this is clear now.
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php