Re: not sure why form submission gives me error

From: Date: Sat, 16 Jul 2005 10:12:15 +0000
Subject: Re: not sure why form submission gives me error
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-218801@lists.php.net to get a copy of this message
Edward Vermillion wrote:
Bruce Gilbert wrote:
Hello, I have a form on my site http://www.inspired-evolution.com/Contact.php produces this error on submission Parse error: parse error, unexpected T_STRING in /hsphere/local/home/bruceg/inspired-evolution.com/Thankyou.php on line 35
Well.. it says it's found a string it wasn't expecting on, or around, line 35 but I can't find it. Did you cut and past the code here or retype it when you posted? BTW... A nice editor for windows is Crimson Editor, and for the mac TextWrangler works pretty good too. Both have built in FTP features that are easy to use and some decent syntax highlighting. And both are free. If your on *nix then I'm not gonna start that war... :P
A good website to go for that sort of information is php-editors.com My personal recommendations: Windows - EditPlus (syntax highlighting, edit-over-ftp, etc.)
        - SciTE (syntax highlighting, code-complete (ie, IntelliSense))
        - UltraEdit
Linux - pick your favorite, I prefer vim for console editing
        - for X11 editors, Kate, SciTE, etc. all work great
Mac     - BBEdit (one of -- if not THE -- best text editor for Mac)
        - SubethaEdit (great editor with unique features)
As for your PHP issue, check for im-properly nested " " marks. Would be good if you highlighted what lines 33-37 were. -- Burhan

« previous php.general (#218801) next »