Odd bug! Anything wrong?
| From: | Bernie Huang | Date: | Sat, 09 Sep 2000 22:22:44 +0000 |
| Subject: | Odd bug! Anything wrong? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16012@lists.php.net to get a copy of this message | ||
Hello,
I've installed and configured PHP 4.0.1pl2 and PHPLib 7.2c. I think I installed them successfully because I can view <? phpinfo(); ?> no problem. However, when I tried out simple form submit as following it didn't work.
form.php
--------
<?php
echo"
<form method=\"post\" action=\"form_process.php\">
<input type=\"text\" name=\"test\" value=\"hello\">
<input type=\"submit\" value=\"Submit\">
</form>
";
?>
form_process.php
----------------
<?php
echo "$test and test";
?>
result
--------
" and test"
Now, I thought PHP will parse the query string automatically, what's going on? Any idea?
Thanks.
- Bernie
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at http://profiles.msn.com.