Re: selected problem
| From: | Jason Wong | Date: | Fri, 26 Apr 2002 09:11:22 +0000 |
| Subject: | Re: selected problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18825@lists.php.net to get a copy of this message | ||
On Friday 26 April 2002 16:39, its me wrote:
> i have the file:
> edit_profile.php
>
> in it i have a form field like this:
> <select name="location">
> <OPTION selected value="">Choose City</OPTION> <OPTION
> and i got from my database:
> $location="Alexandria"
> so i wanted to appear selected,how can i do this??
Mark it as selected like above.
<OPTION selected value="Alexandria"> ...
Look up a decent HTML reference.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
If you are over 80 years old and accompanied by your parents, we will
cash your check.
*/