SOLUTION: [PHP] Re: funcky parse error message due to { } or not sure what else might cause

From: Date: Fri, 08 Aug 2003 21:52:31 +0000
Subject: SOLUTION: [PHP] Re: funcky parse error message due to { } or not sure what else might cause
Groups: php.general 
Request: Send a blank email to php-general+get-158958@lists.php.net to get a copy of this message
Ugh I replace one double quotes with two single quotes and it works like a charm. Thanks very much! -----Original Message----- From: Shena Delian O'Brien [mailto:shena@darklock.com] Sent: Friday, August 08, 2003 4:24 PM To: php-general@lists.php.net Subject: [PHP] Re: funcky parse error message due to { } or not sure what else might cause Can you post the entire error? Is that a " or a '' ? if a ", you need a closing " to go with it. Jim M Gronquist wrote: > > I added one term to a listing > --------------------------------- > > if ( $follow_up == ") { > $error=true; > } > ------------------------------------ > and now I'm getting a parse error > > Ugh > > I can't see anything that is causing this. > > The script worked before. > > Any idea where I might start to debug? > > When I had this problem before it was because I had > Added a } which messed up the { } agreement but I only added > These 3 lines which shouldn't mess up the { } I don't think... > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#158958) next »