how i stock comparison value dump down lists mysql data?


i need values form inputs populated sql database. formula works good calm textarea inputs nonetheless i can't figure out distribute database value dump down lists eg. 'type property' below. revolves around removing 'option selected' paint value reason database.



here code:



$result = $db->sql_query("select * ".$prefix."_users where userid='$userid'");    
$row = $db->sql_fetchrow($result);

echo "<center><font class=\"title\">"._change_my_information."</font></center><br>\n";
echo "<center>".all." ".fields." ".must." ".be." ".filled."
<form name=\"editmyinfoform\" method=\"post\" action=\"users.php\" enctype=\"multipart/form-data\">
<table align=\"center\" border=\"0\" width=\"720\" id=\"table1\" cellpadding=\"2\" bordercolor=\"#c0c0c0\">
<tr>
<td align=\"right\">".telephone." :</td>
<td>
<input type=\"text\" name=\"telephone\" size=\"27\" value=\"$row[telephone]\"> inc. dialing codes
</td>
</tr>
<tr>
<td align=\"right\">".type." ".of." ".property." ".required." :</td>
<td>select list:
<select name=\"req_type\" value=\"$row[req_type]\">
<option>house</option>
<option>bungalow</option>
<option>flat/apartment</option>
<option>studio</option>
<option>villa</option>
<option>any</option>
</select>
</td>
</tr>
....


Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?