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@xxxxxxxxxxxxxx Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php