PHP_SELF syntax
| From: | Peter Gumbrell | Date: | Sun, 23 Feb 2003 23:55:06 +0000 |
| Subject: | PHP_SELF syntax | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-136788@lists.php.net to get a copy of this message | ||
Could someone tell me why this code prompts a parse error. I have tried it
several different way. The statement is called from within a function:
print "<form method=\"POST\" name=\"update_workshop\"
action=\"$_SERVER['PHP_SELF']\">\n";
Many thanks
Peter