Re: Why is my class throwing this error?

From: Date: Fri, 18 Feb 2005 00:15:33 +0000
Subject: Re: Why is my class throwing this error?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-208974@lists.php.net to get a copy of this message
Thanks to you all, the problem ended up being me leaving off a sigle quote in a function declared before. 8_ I didnt expect that to be the error because I was thinking it would flag it much sooner in my script than it did. Thanks for the help. --nathan On Thu, 17 Feb 2005 11:48:12 -0800 (PST), Richard Lynch <ceo@l-i-e.com> wrote: > NathanielGuy#21 wrote: > > function displaygallery($user = FALSE, $lastprinted = 0, $move = > > 'forward', $limit = 10) {//Line 52 > > > Error thrown > > -- > > Parse error: parse error, unexpected T_STRING in > > /home/blacknut/public_html/picserv/includes/gallery.class on line 52 > > You probably have a missing ' or " somewhere BEFORE line 52. > > And probably in the stuff you chopped out, since others ran the code you > provided with no error. > > -- > Like Music? > http://l-i-e.com/artists.htm > > -- http://www.blacknute.com/

« previous php.general (#208974) next »