hi,
I was trying to create code that first fill drop-down list from table in db then when I select any value in this drop-down list then will get another
$res="SELECT * FROM users ";
$query = mysql_query($res);
while($row = mysql_fetch_assoc($query)) {
echo '<select size="name" name="D">
<option value="'.$row['name'].'">'.$row['name'].'</option>
</select>';
// <== i want to fill filed name from
// table users dir. because it always
// updating
echo''.$row['age'].';'.$row['address'].';'.$row['tel'].';
//then when i select any value from drop-list=name it auto will print
age ,addree & tel
}
?>
any one can help .
thank you in advanced