Re: PHP_SELF syntax
| From: | Shawn McKenzie | Date: | Mon, 24 Feb 2003 00:00:40 +0000 |
| Subject: | Re: PHP_SELF syntax | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136791@lists.php.net to get a copy of this message | ||
Works great for me. The error may be from a previous line. What is the
error?
-Shawn
"Peter Gumbrell" <peter@orillia.net> wrote in message
news:PJEFLEILOPHKCDBMAAJJOEJECGAA.peter@orillia.net...
> 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
>
>