countries_name"
-Original Message-
From: Boaz Yahav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 12:13 AM
To: Ralph; PHP General Mailing List
Subject: RE: [PHP] Sorting Country List
Why don't you just add a hard coded line like this:
USA
as the 1st option in your selec
I use this code, which extracts from mysql, and you can set the option of
which you want to be selected
\n";
while (list($key,$val)=mysql_fetch_array($mysql_link)) {
if ($default == $key) {$selected="selected";} else {$selected="";}
$result.="$val\n";
}
$result.="\n";
r
Why don't you just add a hard coded line like this:
USA
as the 1st option in your select box?
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Ralph [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 6:
3 matches
Mail list logo