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.

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

Reply via email to