Home Show values in lable based on combox which linked to DB
 here is my try to pass the valuse into label based on combox. suppose I choose A from combox the labe must change to 1 if i select B, the lable change to the 2. here is my try: kota.php: $conn=mysql_connect('localhost','root','root');$sel = mysql_select_db('test',$conn);$alamat=$_POST['alamat'];$query=mysql_query('select * from alamat where jalan="'.$alamat.'"'); while ($data=mysql_fetch_array(\$query)){ echo '; } ?>  com_txt.php  Test Calculator