Re: Re: parse error
| From: | Richard S. Crawford | Date: | Thu, 13 Dec 2001 23:01:48 +0000 |
| Subject: | Re: Re: parse error | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-15014@lists.php.net to get a copy of this message | ||
Rob,
Can you show us a few lines before and after the script? The only thing that I can figure is that line 360 should end with a single quote and a semicolon (';), but it would be easier if we could see the code in context.
Richard
At 02:42 PM 12/13/2001, you wrote:
Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: underpope@hotmail.com "It is only with the heart that we see rightly; what is essential is invisible to the eye." --Antoine de Saint Exupéry "Push the button, Max!"I've written a small script that processes a form from a webpage andsendsthe submitted data as an HTML e-mail that has the form all filled out already. I've gotten smaller versions of this script to work without any problem just to test the idea.I can't figure out why I'm now getting the following error: Parse error: parse error in/home/httpd/cgi-bin/rday/lists/do_listapp.php3on line 358 Here is the offending code:353 if ($moderation == "no"){ 354 $message .= " checked"; 355 }356 357$message .= '358 >no<br> 359 <p>Answer "yes" if you want all postings to the list to besent to360 a moderator for approval before distribution to thelist.</p> Any help would be greatly appreciated. Thanks! ________________________________________________ Rob Day Web Team Leader Texas State Library and Archives Commission phone: 512.936.4463 fax: 512.463.5436 rday@tsl.state.tx.us