im atempting to learn PHP and iv ran into a situation...
Im running apache web server with php and mySQL...This question has nothing to do with mySQL but....
I Created a file called welcome.hml and included the following code...
<Font color = "Black">
<a href="http://localhost/welcome.php?name=Dave"> Hi, I'm Dave!</a>
Then i created a filed called welcome.php and included this code...
echo( "Welcome to our web site, $name!" );
and then i goto http://localhost/welcome.html
and click on the link and it takes me to welcome.php but heres the problem...
The output on welcome.php says:
Welcome to our web site, !
It doesnt pass the name dave to the page from the URL whats causing that... I got the code straight from a book...
I know php is working cause i used it witha date function and it worked fine