the way to start this is to just add a couple of letters to the message and
see if you're still getting an error - 
try (on line 357)...

$message .=">no<br>\nHello world";
keep it all on one line, and then see if you're still getting an error - if
you are then i don't think this line is the one you have to worry about!

-----Original Message-----
From: Rob Day [mailto:[EMAIL PROTECTED]]
Sent: 13 December 2001 21:49
To: '[EMAIL PROTECTED]'
Subject: [PHP-DB] parse error


I've written a small script that processes a form from a webpage and sends
the 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.php3
on 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 be
sent to 
360              a moderator for approval before distribution to the
list.</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
[EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.306 / Virus Database: 166 - Release Date: 04/12/01
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.306 / Virus Database: 166 - Release Date: 04/12/01
 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to