Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: Global variable in a page


Message #1 by "arun" <arun@l...> on Thu, 4 Apr 2002 20:07:11 +0530
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.

  Return to Index