Re: Re: [Q] PHP code embedded in html files - What happens?
| From: | EastLothianDirectory | Date: | Mon, 15 Mar 2004 02:35:30 +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-180407@lists.php.net to get a copy of this message | ||
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
---------------