Jump to content

[SOLVED] radio button


spooke2k

Recommended Posts

heres a quick mock-up i did, and it works for me

 

<html>
<?php print_r($_POST["submit"]);?>
<form name='myform' method='post'>
  <input type='submit' name='submit' id='submit' value='submit'>
  <input type='radio' name='radiobut[]' value='1' onclick='myform.submit.click();'>myradio</input>
</form>
</html>

Link to comment
https://forums.phpfreaks.com/topic/60779-solved-radio-button/#findComment-302434
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.