Daniel Szasz <[EMAIL PROTECTED]> wrote:
> 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() ?> >
You might also want to make sure that it is quoted:
<META NAME="mAuthor" CONTENT="<?echo mAuthor() ?>" >
Curt
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php