MySQL beginner |
|
<form name="radio" action="pagina.php" method="POST">
<input type="radio" name="radiobutton" value="1" />1
<input type="radio" name="radiobutton" value="2" />2
<input type="radio" name="radiobutton" value="3" />3
<input type="submit" name="submit" value="submit" />
</form>
<form name="radio" action="pagina.php" method="POST"> <input type="radio" name="radiobutton" value="1" />1 <input type="radio" name="radiobutton" value="2" />2 <input type="radio" name="radiobutton" value="3" />3 <input type="submit" name="submit" value="submit" /> </form>
en dan verwerken
<?php
echo "De waarde " . $_POST['radiobutton'] . " werd geselecteerd.";
?>
<?php echo "De waarde " . $_POST['radiobutton'] . " werd geselecteerd."; ?>
kijken welke radiobutton gekozen is??
anders snap ik de vraag niet |