I missed out the 'slash' at the </html>


---- Original Message ----
From:           EastLothianDirectory
Date:           Mon 3/15/04 2:35
To:             [EMAIL PROTECTED]
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to