Hi...
I just began studying PHP and immediately ran into problems. I can't get my site to respond properly to the code presented below. I'm trying to get the code to generate different page for different names when correcting the URL (example http://mysite.com/test.php?name=Jack). (If the name is Jack, I want it to display "Hello Jack".) Instead of displaying hello Jack when I correct the URL, it displays the else value
Code:
Thank you in advance.PHP Code:<?php
if($name==Jack)
echo "Hello, Jack";
else
echo "You're not Jack";
?>



