# PHP Parse Error

**URL:** <https://forum.kirupa.com/t/php-parse-error/29985>\
**Category:** programming\
**Created:** [September 2, 2003, 5:26pm UTC](https://forum.kirupa.com/t/php-parse-error/29985 "2003-09-02T17:26:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![grandsp5](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@grandsp5](https://forum.kirupa.com/u/grandsp5)\
**Post date:** [September 2, 2003, 5:26pm UTC](https://forum.kirupa.com/t/php-parse-error/29985/1 "2003-09-02T17:26:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 2, 2003, 5:39pm UTC](https://forum.kirupa.com/t/php-parse-error/29985/2 "2003-09-02T17:39:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 2, 2003, 5:42pm UTC](https://forum.kirupa.com/t/php-parse-error/29985/3 "2003-09-02T17:42:38Z")

</div>

and then he thanked njs for his wisdom

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 2, 2003, 5:44pm UTC](https://forum.kirupa.com/t/php-parse-error/29985/4 "2003-09-02T17:44:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 2, 2003, 5:46pm UTC](https://forum.kirupa.com/t/php-parse-error/29985/5 "2003-09-02T17:46:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 2, 2003, 5:51pm UTC](https://forum.kirupa.com/t/php-parse-error/29985/6 "2003-09-02T17:51:42Z")

</div>

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