I just started learning PHP and the very first time I try to link an .htm page to a .php file I can’t make it work.
I’m frustrated because this is the most basic of programs and I can’t get it to work. The print command is returning “Hi there, !” The variable is not being printed.
The name = “userName” in the .htm page is not working with the $userName in the .php file.
.htm:
[code]
What's your name?What's your name?
Writing a form for user input
Please type your name:[/code]
.php:
[code]
Hi User