PDA

View Full Version : PHP Parse Error



grandsp5
September 2nd, 2003, 01:26 PM
Anyone know why this isnt working? I get a parse error on line 9 and I have no idea what that means.

λ
September 2nd, 2003, 01:39 PM
And the lord said: "Check you have semicolons at the end of each line". And Moses did so and all was well ;)

grandsp5
September 2nd, 2003, 01:42 PM
and then he thanked njs for his wisdom

grandsp5
September 2nd, 2003, 01:44 PM
I'm still sloppy from AS where its optional. I havent dont c++ in a while so my coding attention is slipping.

λ
September 2nd, 2003, 01:46 PM
:love:

Anyway, the semicolons always cause me trouble, so it's best to check you have them before running any script.

Also, if you get a parse error, it generally concerns either the line number or the line above it, which can be handy if you use a tool like PHPEd or Dreamweaver which has line numbering.

grandsp5
September 2nd, 2003, 01:51 PM
ok neat. i use edit plus which has the same sort of thing