PDA

View Full Version : Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$'....


Link14716
07 Jul 2003, 22:37
Well, working on a script, I am hit with this error:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


I can't tell what is wrong... here are lines 150-152:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

filburt1
07 Jul 2003, 22:41
A variable name can only start with a character or underscore. Or, if you're feeling adventurous, it must match this regexp: [A-Za-z_]{1}[A-Za-z0-9_]*

Link14716
07 Jul 2003, 22:44
Oh, well that's easy to fix then. Thanks. :)