Dear all PHP users,

I have installed a new web server for PHP scripting.
I wrote a PHP form page to submit some variables to
another PHP pages.  After submission, I found that the
variables cannot be echoed out.   The scripts are as simple
like these,

<!-- hello2.php-->
<body>
<?php
    print "<form action=\"hello.php\" method=\"POST\">\n";
    print "Name: <input type=\"text\" name=\"name\"><br>\n";
    print "<input type=\"submit\">\n</form>\n";
?>

<!-- hello.php-->
<body>  <?php echo("Hello, $name!\n"); echo("<p>\nWhat a <b>bold</b> move
this is!\n"); ?>  </body>

What sort of problem relating to installation is it?

Thanks for any inputs and advice.

Morris Law
IT Coordinator
Science Faculty
Hong Kong Baptist University

</body>

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

Reply via email to