note 54146 added to reserved.variables

From: Date: Fri, 24 Jun 2005 18:08:30 +0000
Subject: note 54146 added to reserved.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-90915@lists.php.net to get a copy of this message
Can someone help me please? I get the following error: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in c:\wamp\www\Form\form_main2.php on line 79 when i run the following code: $action="$_SERVER['PHP_SELF']" echo "<form action=$action method='post'>"; I am new to PHP so it is most likely an obvious mistake but never the less I cannot figure it out. Thanks in advance! ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+54146 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54146&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54146&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54146&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54146&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54146&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54146&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+54146&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#90915) next »