Hi there, Im totally new to php and haven't programmed or played with html for years so please forgive me if im being stupid with this. I am following a few guides to learn mysql and php and im stuck im something that i think looks right. I made a test html file to carry a variable to a php file and its not carrying over the variable...
<A HREF="welcome.php?name=john"> Hi, I'm John! </A>
echo "Welcome to our Web site, $name!" ;
when i click the link in the welcome page i get the following..
Welcome to our Web site, !
the name john should be in there, the variable is being passed to the url though...http://192.168.0.12/welcome.php?name=john
I'm running fedora 16 with a yum installed LAMP install. any help would be much appreciated.