From:             admin at kcfreepress dot com
Operating system: n/a
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  extra quote marks in example 2.7 in PHP manual lists 

Description:
------------
Quoted from the PHP Manual (CHM file version, generated: Sun Oct 05
02:13:52 2003)

----------
Example 2-7. Printing data from our form

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

In order to avoid parse errors, it seems like this should instead read:

----------
Example 2-7. Printing data from our form

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

Thanks!


-- 
Edit bug report at http://bugs.php.net/?id=27181&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27181&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27181&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27181&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27181&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27181&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27181&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27181&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27181&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27181&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27181&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27181&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27181&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27181&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27181&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27181&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27181&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27181&r=float

Reply via email to