Re: How to use ph to set meta tags ?

From: Date: Tue, 15 Jul 2003 18:19:59 +0000
Subject: Re: How to use ph to set meta tags ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-155301@lists.php.net to get a copy of this message
I wish to create be able to put in the meta tags value from functions. How can be done ? Here is part of the code : <?php function mAuthor() { $Author = "Daniel Szasz"; return $Author; }; ?> <? ?> <HTML> <HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1252"> <META NAME="mAuthor" CONTENT= <?php echo mAuthor() ?> >
</HEAD> </HTML>
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#155301) next »