is there another way to reload a page than this :
header("Location:".$_SERVER['PHP_SELF']."?id=1&Section=".$_GET["Section"]);
Cause it say the header is already sent and I don't think i can call it before any outputUse output buffering:
At the top:
ob_start();
At the end:
ob_end_flush();could you explain it a little more or give me a link, cause i don't understand at all what this is suppose to do.Well, it basically prevents those messages stating headers have allready been sent, not to appear (and not happen actually). Don't ask me for the real technical reason, I'm only a diy php-lover
Here's the page from php.net:
<!-- m --><a class="postlink" href="http://www.php.net/manual/en/function.ob-start.php">http://www.php.net/manual/en/function.ob-start.php</a><!-- m --><META HTTP-EQUIV="Refresh" Content="3;URL=".$_SERVER['PHP_SELF']."?id=1&Section=".$_GET["Section"]."\">
header("Location:".$_SERVER['PHP_SELF']."?id=1&Section=".$_GET["Section"]);
Cause it say the header is already sent and I don't think i can call it before any outputUse output buffering:
At the top:
ob_start();
At the end:
ob_end_flush();could you explain it a little more or give me a link, cause i don't understand at all what this is suppose to do.Well, it basically prevents those messages stating headers have allready been sent, not to appear (and not happen actually). Don't ask me for the real technical reason, I'm only a diy php-lover
Here's the page from php.net:
<!-- m --><a class="postlink" href="http://www.php.net/manual/en/function.ob-start.php">http://www.php.net/manual/en/function.ob-start.php</a><!-- m --><META HTTP-EQUIV="Refresh" Content="3;URL=".$_SERVER['PHP_SELF']."?id=1&Section=".$_GET["Section"]."\">