RE: [PHP-DB] parse error

From: Date: Fri, 14 Dec 2001 08:45:12 +0000
Subject: RE: [PHP-DB] parse error
Groups: php.db 
Request: Send a blank email to php-db+get-15021@lists.php.net to get a copy of this message
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:rday@tsl.state.tx.us] Sent: 13 December 2001 21:49 To: 'php-db@lists.php.net' 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 rday@tsl.state.tx.us -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net --- 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

« previous php.db (#15021) next »