I was wondering, can you call a php script in the middle of a html page?

I've seen some sites use code like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>Untitled</title>
</head>
<body>
HELLO WORLD!!!
<P>
<!--#include file="helloworld2.php" -->
</body>
</html>

but when I try it, the php script doesn't run.


Does anyone else know how to use php on a page and yet keep the .html
extension?

Thanks in advance,
Roger



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

Reply via email to