ID:               37479
 Updated by:       [EMAIL PROTECTED]
 Reported By:      office at surfport dot com
-Status:           Open
+Status:           Bogus
-Bug Type:         Website problem
+Bug Type:         Documentation problem
 Operating System: Mac OS X 10.46
 PHP Version:      Irrelevant
 New Comment:

If you have any suggestions how to improve the 
documentation, feel free to share them.


Previous Comments:
------------------------------------------------------------------------

[2006-05-18 05:15:13] office at surfport dot com

OK I'm an idiot. I now see what must be done to get the script 
to run (upload). But this is a site for tuition and I think we 
novices can easliy miss what, to you, can be "obvious."

------------------------------------------------------------------------

[2006-05-17 16:12:03] office at surfport dot com

Description:
------------
Hi. Apparent web site bug in example "Dealing with forms" 2-6 
and 2-7. I have copied-and-pasted both sets of code, creating 
two pages. When I enter data in the first and hit "submit" the 
second page does not output as expected. Instead, it outputs 
the actual code. BBEdit 8.24 for page construction, Safari 
2.03 for display.

Cheers,

grh

Next field is the code on my two pages. Only the first gives 
me an expected result.

Reproduce code:
---------------
  
<form action="action.php" method="post">
<p>Your name: <input type="text" name="name" /></p>
<p>Your age: <input type="text" name="age" /></p>
<p><input type="submit" /></p>
</form>
          

---------------------------------------------------------

Hi <?php echo $_POST['name']; ?>.
You are <?php echo $_POST['age']; ?> years old.

Expected result:
----------------
As reported in your example

Actual result:
--------------
Hi <?php echo $_POST['name']; ?>.
You are <?php echo $_POST['age']; ?> years old.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37479&edit=1

Reply via email to