I have been up for 2 solid nights trying to get everything working and I really need some help.
I have a Mac OSX 10.3.9. I have installed successfully (I think) the following SW.
MySQL Standard 4.0.24
PHP 5.0.4
PHPMyAdmin 2.6.2
I can log in to mysql in the terminal and have created databases. I am currently learning SQL commands.
I have done the PHP test by loading the file http://localhost/~ira/phpinfo.php and can see the PHP Version 5.0.4 www.entropy.ch Release 1 page just fine.
Here is my problem. PHP isnt working correctly. I tried some simple demo as follows.
My HTML PAGE "Welcome.html"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<a href="welcome.php?name=Kevin"> Hi, I'm Kevin! </a>
</body>
</body>
</html>
MY PHP Page "Welcome.php
<html>
<head>
<title>Untitled</title>
</head>
<body>
<?php
echo( "Welcome to our Web site, $name!" );
?>
</body>
</html>
When I load Welcome.html, I should see a link to Welcome.php and I do see it however when I click and go to Welcome.php, I get the following output...
"Welcome to our Web site, !" instead of
"Welcomt to our Web site, Kevin!"
Apparently, my PHP is not working. Could it not be set up completely in the config.info.php page?
Once I figure this out, I will be in business. I am really close and any help would be greatly appreciated.
Regards,
afterHours