chrisv
New Member
- Messages
- 12
- Reaction score
- 0
- Points
- 0
Hi All,
I don't know what I'm doing wrong, I would like to include some PHP script in my HTML but it's not working. I found a thread where someone else was trying this and they got it to work :dunno:
This is saved as a html, when I view it only "This is an HTML line" appears, no error messages...
Thanks.....
I don't know what I'm doing wrong, I would like to include some PHP script in my HTML but it's not working. I found a thread where someone else was trying this and they got it to work :dunno:
Code:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<p>This is an HTML line
<p>
<?php
echo "This is a PHP line";
?>
</body></html>
This is saved as a html, when I view it only "This is an HTML line" appears, no error messages...
Thanks.....