Jump to content

I have a few questions.


Guest groog

Recommended Posts

Guest groog

How do I get my words to show?

<html><head></head><body><?php $txt="Hello World"; echo $txt; ?></body></html>

i'm pretty sure I did it right. How do I get PHP to show on my site. I tested it and all I got was a blank page. :)

Link to comment
Share on other sites

to view php coded pages, you need to put them on a server that supports php.are you just viewing them on your computer or are you uploading them somewhere?the code you got there is right, so i'm guessing your viewing the page on your computer. php is server side scripting, so you need a server for it to work.:)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...