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...
<html>
<head>
<title>Welcome</title>
</head>
<body>
<Font color = "Black">
<a href="http://localhost/welcome.php?name=Dave"> Hi, I'm Dave!</a>
</body>
</html>
Then i created a filed called welcome.php and included this code...
<html>
<head>
<title>Welcome</title>
</head>
<body>
<?php
echo( "Welcome to our web site, $name!" );
?>
</body>
</html>
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