R Richard Hughes III New member Apr 8, 2009 #1 How can I use the form radio buttons where you click one and after you hit the submit button it puts a name or word or number into a cell of the database in MySQL.
How can I use the form radio buttons where you click one and after you hit the submit button it puts a name or word or number into a cell of the database in MySQL.
D DzSoundNirvana Guest Apr 8, 2009 #2 well the basics of radio is <input type="radio" name="languages" value="English"> <input type="radio" name="languages" value="French"> <input type="radio" name="languages" value="Spanish"> <? if($_POST['languages'] == "English") { $query = mysql_query("INSERT INTO database_table ('language') VALUES('$_POST['languages']')"); } ?>
well the basics of radio is <input type="radio" name="languages" value="English"> <input type="radio" name="languages" value="French"> <input type="radio" name="languages" value="Spanish"> <? if($_POST['languages'] == "English") { $query = mysql_query("INSERT INTO database_table ('language') VALUES('$_POST['languages']')"); } ?>