Re: meta tag inside php / redirect / refresh
| From: | Paul Gardiner | Date: | Fri, 16 Mar 2001 08:57:09 +0000 |
| Subject: | Re: meta tag inside php / redirect / refresh | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7532@lists.php.net to get a copy of this message | ||
Hi Marc,
Try this - untested and I'm very sleepy, but should get you closer ;o)
<html>
<head>
<title>Refresh Test</title>
<?php if($check_num == 0) echo "<META HTTP-EQUIV=\"REFRESH\"
CONTENT=\"5;URL=http://www.chescolawyers.com/BB/index2.shtml\">";
?>
</head>
............
Regards,
- Paul -
----- Original Message -----
From: "Marc Bragg" <msbjustice@mindspring.com>
To: <php-db@lists.php.net>
Sent: Friday, March 16, 2001 4:09 AM
Subject: [PHP-DB] meta tag inside php / redirect / refresh
> Crazy after hours of syntax. How do you insert php code so that on
> different results, 1 or 0, a different the resulting html page is
> redirected or refreshed to a dfiferent url . . . . i tried:
>
> <?php if(check_num == 0) <meta http-equiv="refresh"
>
> content="5;URL=http://www.chescolawyers.com/BB/index2.shtml">
> ?>
>
> to no avail.
>
> help
>
> thanx
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>