RE: [PHP-WIN] embedded PHP in HTML
| From: | HKG) | Date: | Mon, 15 Dec 2003 14:35:36 +0000 |
| Subject: | RE: [PHP-WIN] embedded PHP in HTML | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-22385@lists.php.net to get a copy of this message | ||
Try something like this:
<script language="php" runat="server">
echo ("hello there");
</script>
-----Original Message-----
From: Ahmad Khashan
To: php-windows@lists.php.net
Sent: 12/12/2003 2:04 PM
Subject: [PHP-WIN] embedded PHP in HTML
I am trying to get this code to work:
<html>
<head>
</head>
<body>
<p>trying to call PHP.</p>
<script language="php" runtat=server>
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