RE: [PHP] unexpected $ in ... WTF?
On 14 April 2004 21:30, Brian V Bonini wrote: Parse error: parse error, unexpected $ in /foo/bar/foo.php4 on line 150 Just to add to previous responses, '$' is PHP's unhelpful notation for end of file (think regex end-of-string anchor, if it helps!). Cheers! Mike - Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] unexpected $ in ... WTF?
Parse error: parse error, unexpected $ in /foo/bar/foo.php4 on line 150 146: /p 147: ?php 148: } 149: include foobar.inc.php4; 150: ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] unexpected $ in ... WTF?
Brian V Bonini wrote: Parse error: parse error, unexpected $ in /foo/bar/foo.php4 on line 150 146: /p 147: ?php 148: } 149: include foobar.inc.php4; 150: ? Your error is going to be somewhere above that in the script. Forgot a semi-colon, closing bracket/brace/etc, etc. -- *** * _ __ __ __ _ * John Nichel * * | |/ /___ __ \ \/ /__ _ _| |__ ___ __ ___ _ __ * 716.856.9675 * * | ' / -_) _` \ \/\/ / _ \ '_| / /(_-_/ _/ _ \ ' \ * 737 Main St. * * |_|\_\___\__, |\_/\_/\___/_| |_\_\/__(_)__\___/_|_|_|* Suite #150 * * |___/ * Buffalo, NY * * http://www.KegWorks.com[EMAIL PROTECTED] * 14203 - 1321 * *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] unexpected $ in ... WTF?
What about line 148 the { ... supposed to be there? Brian V Bonini wrote: Parse error: parse error, unexpected $ in /foo/bar/foo.php4 on line 150 146: /p 147: ?php 148: } 149: include foobar.inc.php4; 150: ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] unexpected $ in ... WTF?
From: Brian V Bonini [EMAIL PROTECTED] Parse error: parse error, unexpected $ in /foo/bar/foo.php4 on line 150 146: /p 147: ?php 148: } 149: include foobar.inc.php4; 150: ? You missed a closing bracket or quote somewhere. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] unexpected $ in ... WTF?
* Thus wrote Brian V Bonini ([EMAIL PROTECTED]): Parse error: parse error, unexpected $ in /foo/bar/foo.php4 on line 150 You're missing a } somewhere. ?php if (1 ) { ? Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] unexpected $ in ... WTF?
On Wed, 2004-04-14 at 16:47, Curt Zirzow wrote: * Thus wrote Brian V Bonini ([EMAIL PROTECTED]): Parse error: parse error, unexpected $ in /foo/bar/foo.php4 on line 150 You're missing a } somewhere. ?php if (1 ) { ? Yup, I sure was :-D -- s/:-[(/]/:-)/g BrianGnuPG - KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu == gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC Key Info: http://gfx-design.com/keys Linux Registered User #339825 at http://counter.li.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php