开发者

Getting the error "Unexpected $end" in my class file [closed]

开发者 https://www.devze.com 2022-12-30 06:47 出处:网络
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not generally applic
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help maki开发者_开发百科ng this question more broadly applicable, visit the help center. Closed 9 years ago.

I'm writing a php library that handles different products, somewhere in my class I must have a missing curly brace or something but I can't find it.

Does someone with a debugger or keen eyes see anything wrong with this code?

http://pastie.org/953994

Thanks in advance!

Edit: I think it's something with the query in the EquipmentDatabase class


ln 237, missing close quote...


Yep. There's a missing curly brace. Try inserting it either at the end (if you're defining the EquipmentDatabase inside of the Equipment class) or at the very end of the file before ?> (if you're defining two separate classes.

0

精彩评论

暂无评论...
验证码 换一张
取 消