I want to assign a value to a variable in radi button. I tried a code like this
<form method="post" action=""> <input type="submit" name="task" value="CONTINUE" onclick="$lax="5">
$task = $_POST['task'];
switch( $task ) {
case 'CONTINUE':
echo $lax;
i want the variable lax to get the value 5 while entering the switch case. I'm very new to php pls help.