i want to refresh my webpage automatically and conserv my post variable value.
My only problem is the conservation of my post variable.
I thought about a session but i don't know how to do it.
heres my code..
session_start();
if ( $_SERVER['REQUEST_METHOD'] == 'POST' )
$_SESSION['editor'] = $_POST["editor"];
and i refresh by setting my url like this in js -> document.location.href= document.location.href;
thanks