I am using this code to include a really basic sidebar on my HTML site:
<?php include '01.php';?>
I created a PHP file with the following content just to try and figure out if I could see it by just loading my page:
<!DOCTYPE html>
<html>
<body>
<h1>My first PHP page</h1>
<?php
echo "Hello World!";
?>
</body>
</html>
It will not show. My server supports PHP, both PHP and HTML files are in the same folder... I don't know what I'm doing wrong, I've been around for weeks looking for a way to solve this problem, any help please?
0 comments:
Post a Comment