I am working with a php file(WAD Assignment.php) now. If a condition is satisfied, it displays a JRadiobutton option. I want the value of that JRadioButton in my php file. But the value is not coming out. How can I do it? Code is below.
<code=php>
if($row["membership_category"]=="Student member"){
?>
<html>
Enter the number of guests
<form>
<input type="radio" name="guest" value="0" checked> 0 <br />
<input type="radio" name="guest" value="1"> 1 <br />
<input type="radio" name="guest" value="2"> 2 <br />
<input type="radio" name="guest" value="3"> 3 <br />
<input type="button" value="Submit Booking" onclick="WAD Assignment.php">
</form>
</html>
<?php
echo $_GET('guest');
}
}
</code>