RE: [PHP-DB] Image / file uploader
| From: | Ford, Mike [LSS] | Date: | Fri, 30 Apr 2004 10:05:06 +0000 |
| Subject: | RE: [PHP-DB] Image / file uploader | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-34197@lists.php.net to get a copy of this message | ||
On 30 April 2004 01:10, Craig Hoffman wrote:
> When I put single quotes in the PHP_SELF and I get this error:
> Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE,
> expecting T_STRING or T_VARIABLE or T_NUM_STRING
>
> and I can't use double quotes because its in an echo statement. What
> am I missing?
Curly braces:
echo ("<form method='post' action='{$_SERVER['PHP_SELF']}'
encType='multipart/form-data'>
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211