Re: [PHP] Re: Why is my class throwing this error?

2005-02-16 Thread Bret Hughes
On Wed, 2005-02-16 at 23:11, Dan Phiffer wrote:
> NathanielGuy#21 wrote:
> > Error thrown
> > --
> > Parse error: parse error, unexpected T_STRING in
> > /home/blacknut/public_html/picserv/includes/gallery.class on line 52
> > --
> 
> For what it's worth, I'm able to execute the code without parse errors 
> (v5.0.3). A long shot, but could there be another file called 
> gallery.class that you've mistaken for this one? (I've done that a 
> couple times.)
> 

what about stray no native linefeeds or other non printable chars?

delete the line and retype it.

Bret

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Why is my class throwing this error?

2005-02-16 Thread Dan Phiffer
NathanielGuy#21 wrote:
Error thrown
--
Parse error: parse error, unexpected T_STRING in
/home/blacknut/public_html/picserv/includes/gallery.class on line 52
--
For what it's worth, I'm able to execute the code without parse errors 
(v5.0.3). A long shot, but could there be another file called 
gallery.class that you've mistaken for this one? (I've done that a 
couple times.)

HTH,
-Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php