Newbie OO-PHP question
Starting to teach myself PHP. Since I'm an OO-Geek, I immediately started writing a couple of classes to help me organize my bookmarks. I have a whole lot of bookmarks and I want to be able to list them on my page organized by locale or category. These classes parse but as soon as I create and usethem, I get these strange parse errors. Perhaps I'm using references incorrectly? Does anyone have any comments on my code?
Parse error: parse error, unexpected ']', expecting T_STRING or T_VARIABLE or T_NUM_STRING in d:\alan\homepage\oddiofile2003\superLinks.php on line 75 Fatal error: Cannot instantiate non-existent class: linkgroup in d:\alan\homepage\oddiofile2003\HollandLinks.php on line 10
What's really bizarre is that I tried commenting out line 75 of superlinks.php
and I still get the same error!!
So I have 2 questions.
- Am I using references correctly here? (probably not)
- How can I get a parse error on that line when it's commented out?
