I am trying to learn how to use PHP. The basic stuff works like a simple hello proram with the list of the installed PHP’s info http://www.tsgtoolbox.com/phptest/ph01/hello.php
The problem is comming into when I start using variables that are not defined within the PHP code but come through through the address.
http://www.tsgtoolbox.com/phptest/ph02/hiJacob.php has the following code and seems to workHi Jacob
Demonstrates using a variable<? $userName = "Jacob"; print "Hi, $userName" ?>
but when I use the variable in the address it does not carry over to the code.
the page I am trying to do this on is
and the code isHi User
PHP program that receives a value from "whatsName"<? print "
Hi there, $userName!"; ?>
the output I am recieving is
PHP program that receives a value from "whatsName"
Hi there, !
I literally copied the files over from a book that I had just recieved and everything had worked up to this point. Is there something I need to do with my settings in dreamhost, my brower, code, or is it a limitation of dreamhost?
Thank you to everyone who can offer assistance.