Re: [PHP-DB] selected problem

2002-04-26 Thread Jason Wong
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

Re: [PHP-DB] selected problem

2002-04-26 Thread Paul Burney
on 4/26/02 4:39 AM, its me at [EMAIL PROTECTED] appended the following bits to my mbox: in it i have a form field like this: select name=location OPTION selected value=Choose City/OPTION OPTION value=10-Ramadan10-Ramadan/OPTION OPTION

Re: [PHP-DB] selected problem

2002-04-26 Thread szii
When you build the list up, originally, you'll NOT put selected on Choose City, but move it to Alexandria. -Szii - Original Message - From: its me [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 26, 2002 1:39 AM Subject: [PHP-DB] selected problem i have the file:

Re: [PHP-DB] selected problem

2002-04-26 Thread Richard Emery
How is your option list created? Did you pull the names and values from a database? Or is the list hard-coded? - Original Message - From: its me [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 26, 2002 3:39 AM Subject: [PHP-DB] selected problem i have the file: