Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

New to PHP, could use some help


ghost's Avatar
0 0

Ok, I got grounded, so I decided to learn PHP, but I'm having some trouble. I tried to do the simplest code I could think of:

<?php

echo "Hello World!";

?>

It should print "Hello World!" , right? Well, it doesn't, and I don't know what my problem is. I saved it as .php, is there something else I need to do to make it work? :S

Any and all help in this manner will be much appreciated. ^_^

–Skunk


ghost's Avatar
0 0

The server you uploaded it to must have PHP installed. It's not like HTML, you have to install PHP on the server for it to work.


ghost's Avatar
0 0

MM…okay, thanks, I'll see what I can do. ^_^


ghost's Avatar
0 0

get xamp, just google it and that will give you a easy install of php, linux, and mysql on windows / linux.


ghost's Avatar
0 0

Ok, thanks guys ^_^


ghost's Avatar
0 0

best prog from php is easyphp 1.8 (google for it) iv used it for almost 6 months now with no troubles