pro_php thread: Global variable in a page
Try using session vars....
something like:
<?
if isset($_SESSION['reload'])
$_SESSION['reload']=$_SESSION['reload'] + 1;
else
{
session_register('reload');
$_SESSION['reload']=0;
}
?>
didn't test this, but something like that should work for what you want...
I recomment you to read about php session vars on the php manual...
regards,
-eduardo s.m.
|





