note 54146 rejected from reserved.variables by nlopess
| From: | nlopess@php.net | Date: | Fri, 24 Jun 2005 18:29:35 +0000 |
| Subject: | note 54146 rejected from reserved.variables by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-90917@lists.php.net to get a copy of this message | ||
Note Submitter: christopher dot jamieson at bell dot ca
----
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!