Re: go to another file

From: Date: Wed, 07 Jun 2000 15:30:36 +0000
Subject: Re: go to another file
Groups: php.general 
Request: Send a blank email to php-general+get-1221@lists.php.net to get a copy of this message
You can say (or code) somewhere in the head of your script: <?php if ($a == 1 ) { ?> <meta http-equiv="Refresh" content="0; URL=start.php3"> <?php } else { ?> <meta http-equiv="Refresh" content="0; URL=quit.php3"> <?php } ?> Take care of the quotation marks. They are set right in this example! This script will - depending on the value of $a immediately (0) reload the indicated file. HTH Steff

« previous php.general (#1221) next »