> Can anyone see a problem with this?

Yes.
 
> <?php
> $TrialID = $colname_earlytour + 1;
>      if ($TrialID <= 5)
>           {
>                 $NewID = $TrialID;
>                 $Page = test

Here...

>             }
>     else
>           {
>                 $NewID = 1;
>                 $Page = newpage

and here...

>             }
> ?>
> 
> <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;?>">

http://www.php.net/manual/en/language.types.string.php

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to