embedded PHP in HTML
| From: | Ahmad Khashan | Date: | Fri, 12 Dec 2003 13:04:31 +0000 |
| Subject: | embedded PHP in HTML | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-22371@lists.php.net to get a copy of this message | ||
I am trying to get this code to work:
<html>
<head>
</head>
<body>
<p>trying to call PHP.</p>
<script language="php">
<?php
echo ("hello there");
?>
</script>
</body>
</html>
The PHP code is not executed. Any way to get this to work?. BTW, I can execute PHP files if i use
the form....action...submit route.
Many thanks....
---------------------------------
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing