On Wed, 28 Jul 2004 21:19, Harlequin wrote: > OK David. > > But here's the conundrum: > > a User has already selected a value which is stored in the database. Can I > Display a range of <option> tags but make the one the user selected > previously as the default...? > > ??? > Yes you can.
I'm not going to give you the code, but a pointer to solving problems yourself. Just break the problem down to its component parts, and resolve each one as you go. For instance, you need to define an option as selected - first figure out how to do that (it's a HTML problem). Then you only want to define an option as selected if certain conditions are met, so test for the conditions and act accordingly. -- David Robley Q: Why do blondes hate M&Ms? A: They're too hard to peel. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php