Re: Strange error

From: Date: Tue, 16 Sep 2003 09:49:24 +0000
Subject: Re: Strange error
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-162729@lists.php.net to get a copy of this message
Sid wrote:
You are probably right. I typed in the same code into a new file and it started to work. Just for the record, I copied and pasted this code from Opera in Windows. Anyone had similar problems?
Yes. There are sometimes hidden characters in code that you cut and paste like that. It will cause the parse error, but you don't actually see anything there. Retyping the code, the exact same way, then fixes it. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.general (#162729) next »