Page 1 of 1

Newbie needs basic help

Posted: Sat Oct 30, 2010 9:31 am
by Jaystammo
Hey guys first post in this forum so I would like to say a big phat Hello! :D

Anyway working through a massive textbook and I have this basic file as shown below:

<html>
<head>
<title>My First PHP Program</title>
</head>
<body>
<?php
echo " I'm a lumberjack. ";
?>
</body>
</html>

Question:
How do I get this to work on my hosts server? Do I need to create a database, and a directory? Or do I just create a database? Or do I just upload the files to a directory with a .php extension and hope for the best? As you can see I am a little confused lol. Any help appreciated

Re: Newbie needs basic help

Posted: Sat Oct 30, 2010 11:13 am
by Jaystammo
LOL.. I have figured this one out myself
just post the files in the public folder and there they are....!