Hello Everybody
So I am brand new to php and the world of computer science in general. I was going through the tutorial at http://www.phphelp.com/tutorial/getting-started-with-php.php?page=3 and I’m pretty certain I am not seeing the correct results.
I have the code below saved in a folder on my desktop. The file is called Hello.html
[php]
The page asks the user for a name and when they hit submit I think the code on the new page is supposed to say “Hello frmName” (I’m assuming frmName is the name that was entered in the previous code above.
The code below is also saved in the same folder on my desktop and it’s called “hello-web.php”
[php]
Hello <?php echo($_POST["frmName"]); ?>!
[/php]So all I say after the user clicks submit is “Hello !” and no name.
Thanks for all of your help!
. I guess my question is by downloading xampp do I have a virtual server? If, so where can I put my php/html files so I can start learning how to code? THANK YOU!!..Sorry for the rookie mistakes.
also make sure the server is online and the spelling and capitalization is correct. when dealing with urls, there’s a big difference between forum and Forum