
Acland - 2008-08-19 02:12:55
I've downloaded the examples and created a simple database to show the total people in each postcode of our mailing list. But when I load the page I get this error:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in drasticSrcMySQL.class.php on line 27
Line 27 for that page is the first line of the class which is this: public $add_allowed = true; // may the user add records? Default is true.
I haven't altered that page at all and it doesn't matter what example.php pages I test - I always get that error. All I change in the example pages is the database table name and the fields I want to test the pages with. What am I doing wrong because this should be very straight forward.
Thanks in advance for any help