[eluser]skaterdav85[/eluser]
I'm having trouble creating a property in my controller. This is what i put above all my methods in one of my controller classes:
Code:
public $_DATA['title'] = "Contact";
However, I get this error:
Code:
Parse error: syntax error, unexpected '[', expecting ',' or ';' in /Applications/MAMP/htdocs/TIS/application/controllers/contact.php on line 4
I'm not sure if this is something specific to CI or you just cant assign an index and value to an array in the property declarations. Anyone know?