RE: [PHP] Meta Refresh Question (PHP)
| From: | Timothy Hitchens \(HiTCHO\) | Date: | Sat, 18 Jan 2003 01:14:27 +0000 |
| Subject: | RE: [PHP] Meta Refresh Question (PHP) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132065@lists.php.net to get a copy of this message | ||
It runs when you fix your (removed URL's and line endings) what is it
not doing?
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: tim@hitcho.com.au
> -----Original Message-----
> From: Edson Waite [mailto:ewaite@thewaitegroup.com]
> Sent: Saturday, 18 January 2003 11:09 AM
> To: php-general@lists.php.net
> Subject: [PHP] Meta Refresh Question (PHP)
>
>
> Hi All,
>
> Can anyone see a problem with this?
>
> <?php
> $TrialID = $colname_earlytour + 1;
> if ($TrialID <= 5)
> {
> $NewID = $TrialID;
> $Page = test
> }
> else
> {
> $NewID = 1;
> $Page = newpage
> }
> ?>
>
> <html>
> <head>
> <title>Aviation Hall of Fame</title>
> <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1"> <META HTTP-EQUIV="refresh" CONTENT="15;
> URL=<?php echo $Page;?>.php?ID=<?php echo NewID;?>">
>
> Thanks,
> Edson Waite III
> http://www.airforcemuseum.com
> http://www.sportsvideooutlet.com
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>