PHP Parse Error

Anyone know why this isnt working? I get a parse error on line 9 and I have no idea what that means.

And the lord said: “Check you have semicolons at the end of each line”. And Moses did so and all was well :wink:

and then he thanked njs for his wisdom

I’m still sloppy from AS where its optional. I havent dont c++ in a while so my coding attention is slipping.

: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.

ok neat. i use edit plus which has the same sort of thing