Friday, 15 April 2011

php - Retrieving combo box value -


I need some help here I have some code, and my question is how to get each of the selected combo values to be done? Any help I really got confused about it would be appreciated, many thanks.

This is the first combo box

  & lt; Div class = "select-form" & gt; & Lt; Form action = "#" method = "POST" & gt; & Lt; Label & gt; Tipe & lt; / Labels & gt; & Lt; Select Name = "TapeKey" & gt; & Lt ;? Php echo "& lt; Option value = 0 selected & gt; - Try - & lt; / option & gt;"; $ Tipe = mysql_query ("SELECT * FROM tipe ORDER BY id_tipe ASC"); While ($ tipeb = mysql_fetch_array ($ tipe)) {echo "& lt; option value = $ tipeb [nama_tipe]> gt; $ tipeb [nama_tipe] & lt; / option & gt;"; ?} & Gt; & Lt; / Select & gt; & Lt; / Form & gt;   

This is the second combo box

   $ jenisb [nama_jenis]  gt; ?} & Gt; & Lt; / Select & gt; & Lt; / Form & gt;   

This is the third combo box

  & lt; Form class = "clearfix" action = "#" method = "POST" & gt; & Lt; Label & gt; Merck & lt; / Labels & gt; & Lt; Select Name = "Mercu" & gt; & Lt ;? Php echo "& lt; Option value = 0 selected & gt; - Match Merk - & lt; / option & gt;"; $ Merk = mysql_query (Select "ID_Kitri ASC according to the keyword category"); While ($ katb = mysql_fetch_array ($ merk)) {echo "

No comments:

Post a Comment