Re: Re: [Q] PHP code embedded in html files - What happens?
| From: | EastLothianDirectory | Date: | Mon, 15 Mar 2004 02:38:06 +0000 |
| Subject: | Re: Re: [Q] PHP code embedded in html files - What happens? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-180408@lists.php.net to get a copy of this message | ||
I missed out the 'slash' at the </html>
---- Original Message ----
From: EastLothianDirectory
Date: Mon 3/15/04 2:35
To: php-general@lists.php.net
Subject: Re: [PHP] Re: [Q] PHP code embedded in html files - What happens?
Try naming your file temp.php instead of temp.html
----------
START CODE
----------
<?
$message = "Hello World";
?>
<html>
<body>
<? echo "$message"; ?>
</body>
<html>
--------
END CODE
---------
Regards,
Chris
---------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php