How to use ph to set meta tags ?
| From: | Daniel Szasz | Date: | Tue, 15 Jul 2003 19:07:18 +0000 |
| Subject: | How to use ph to set meta tags ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-155298@lists.php.net to get a copy of this message | ||
Hello
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= <? mAuthor() ?> >
</HEAD>
</HTML>
Thanks a lot for the help
Daniel