Re: meta tag inside php / redirect / refresh

From: Date: Fri, 16 Mar 2001 08:50:21 +0000
Subject: Re: meta tag inside php / redirect / refresh
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-7531@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Marc, On 16 March 2001 at 23:09:48 -0500 (which was 04:09 where I live) Marc Bragg wrote to php-db@lists.php.net and made these points: MB> Crazy after hours of syntax. How do you insert php code so that on MB> different results, 1 or 0, a different the resulting html page is MB> redirected or refreshed to a dfiferent url . . . . i tried: MB> <?php if(check_num == 0) <meta http-equiv="refresh" MB> content="5;URL=` MB> @ùØùý?½ín&¶Ûhttp://www.chescolawyers.com/BB/index2.shtml"> ?>> You need to use the echo command to send the meta tag to the client browser: <?php if(check_num == 0) echo( '<meta http-equiv="refresh" content="5;URL=http://www.chescolawyers.com/BB/index2.shtml">'); ?> - -- Cheers -- .\\arck D. Pearlstone -- Consultant Software Engineer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ PGP Key ID: 0x929DCDA0 | www: http://www.silverstones.com ] Where do forest rangers go to "get away from it all?" -----BEGIN PGP SIGNATURE----- Version: 6.5.8ckt (build 04) Comment: PGP Sealed for freshness iQA/AwUBOrHTzTnkJKuSnc2gEQL0XwCdHc4mQue9y6fj7/7MDSHv7DZTTAkAn2O0 2G925ybqEvrxDssa0Nd747+m =jyQl -----END PGP SIGNATURE-----

« previous php.db (#7531) next »