Well,

Could be some sort of debugging mode on the PHP running on the
server. On the other hand your script is depending on the fact that
GLOBALS are turned on, which - you shouldnt.

1)
   Anywho - you form is using POST, so you should use this syntax :

   $_POST["variable"], if using GET the equivilant is : $_GET["variable"]

2)
    You should try to avoid putting variables inside quotes, unless you have
    a good reason for is. Meaning
    "Hello $variable";
    should be written as :
    "Hello " . $variable;

So the answer to your question would be, on the second page, and I also
prefer echo instead of print.

echo "Hello " . $_POST["name"] . "!";
or
echo 'Hello ' . $_POST["name"] . '!';

-- 
-- 
Kim Steinhaug
----------------------------------------------------------------------
There are 10 types of people when it comes to binary numbers:
those who understand them, and those who don't.
----------------------------------------------------------------------
www.steinhaug.com - www.easywebshop.no - www.webkitpro.com
----------------------------------------------------------------------

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to