So i'm trying to refresh my page 1 time after my form is submitted. Now the problem is that when i submit the page reloads infinite. How do i make it so it only reloads 1 time after echoing the 'hoi'?
This is btw just a test page where i was testing on
<?
if($_GET['options'])
{
echo 'hoi';
echo '<meta http-equiv="refresh" content="1">';
}
?>
<form id="myForm" method="get" >
<input type="radio" name="options[]" value="3" onclick="document.getElementById('myForm').submit();"/>
</form>