hi again
this is the code
$query="Select * From propinsi";
$result = mysql_query($query, $con) or die('Query failed : ' . mysql_error($con));
echo "Province :";
echo "<select name='propinsi' id='propinsi' class='' tabindex='3'>";
echo "<option value='' selected>- Select Province -</option>";
while ($row = mysql_fetch_row($result))
{
echo "<option value='$row[0]' >$row[1]</option>";
}
echo "</select>";
/* Free result set */
mysql_free_result($result);
//get from table kabupaten//
$query="Select * From kabupaten where code=([B]value from option province[/B])";
i need the "Value from option province"
thks