Taking an internet programming class and our first assignment was to grab input from an html form and echo it out in a php page. After many frustrating attempts to get this to work, I just tried to make a php page that echoes out "hello world" but not even that worked. It echoed out "echo 'hello world';"
When I try to view my php files in chrome, I just get the source code to display but I want to be able to view it as if it were a webpage.
I don't know how to show my code properly on here. Anytime I try to combine < with ?, it just shows up as
Ok. I've got the hello world one working, but now I have an issue where I can't echo out variables.
Got it working! My local server wasn't on, and then for the actual assignment the syntax was wrong. Thanks for all your help and patience!