View Single Post

  #1 (permalink)  
Old 01-11-2004
Nico Berg
 
Posts: n/a
Default php doesn't work in html files

Hi there all,

I use Apache version 1.3 and WIndows 2000. The site is not global but only
local so I use the url http://localhost/index.html

This index.html look's like this:

<html>
<body>
This is a line
</body>
</html>

<?
echo "this is the second line";
?>

Output is: This is a line

So the php part is not done at all. Is that right? I always believed php
should work in html?

Nico
Reply With Quote