can someone look at my coding… i have problem in selecting radio button and redirect to following selection…tq…
[php]
SEMAKAN PELAJAR
PEPERIKSAAN |
|
can someone look at my coding… i have problem in selecting radio button and redirect to following selection…tq…
[php]
SEMAKAN PELAJAR
PEPERIKSAAN |
|
should this be like this instead:
[php]
if ($selected_radio = ‘jul’) {
header(“location:yes.php”);
}
else if ($selected_radio = ‘dis’) {
header(“location:no.php”);
}
[/php]
ok… that’s my mistakes, than after altered it, still i cannot redirect my page to radio button that i had choose…
do you see any errors? as your using headers after output has started either move the php code above the html markup or put <?php ob_start();?> at the very top of the file
just realized there’s no form tag try this:
[php]
<?php ob_start();?> SEMAKAN PELAJAR
PEPERIKSAAN |
|
[/php]