Try using the following: $_SERVER[PHP_SELF] Mainly, get rid of the quotes inside the brackets. Usually this error 'T_String' generally occurs when you have quotes (" or ') where they shouldn`t be. Give it a try if that thing still troubles you... Good luck Craig Hoffman wrote: > Sorry to be a pest but I tried that. It giving me the same error. > __________________________________ > Craig Hoffman - eClimb Media > v: (847) 644 - 8914 > f: (847) 866 - 1946 > e: choffman@xxxxxxxxxxxxxxx > w: www.eclimbmedia.com > _________________________________ > On Apr 29, 2004, at 7:10 PM, Daniel Clark wrote: > > Change to double quotes for the HTML portion. > > > > action="$_SERVER['PHP_SELF']" > > > >> 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? > >> echo ("<form method='post' action='$_SERVER['PHP_SELF']' > >> encType='multipart/form-data'> > >> > >> Any more thoughts? > >> CH -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php