hi,
I have a script that does this :
[code=php]
if ($down==1){
$query4 = “UPDATE mainMenu SET positie=’$positionDOWN’ WHERE positie=$positionSTORE”;
$result4 = mysql_query($query4);
$down = 0;
}
but at the and of the if statement it should refresh the page and I tried to do it with something like this:
[code=php]
<!–this one kept refreshing over and over again–>
echo “<script type=’text/javascript’>window.location.reload(true)</script>”;
<!–and i tried a return function and that only made my page gray–>
return ‘menu.php’;
I searched the internet for an answer and found many of the same questions but not with the right answer. What can I do??
Thanks in advance