06-08-2008, 02:30 AM
|
#1 (permalink)
|
|
The Contributor
Join Date: May 2008
Location: Oporto-Portugal
Posts: 32
Thanks: 11
|
no "include"s inside classes?
Hello everyone,
I just started with OOP and classes and I placed all gets and sets inside an include file and when using the php include keyword get the following error:
Parse error: syntax error, unexpected T_INCLUDE, expecting T_FUNCTION in D:wampwwwform_generatorclass.forms.php on line 187
So, we can not use include files inside a class?
Thanks in advance for all the answers,
pipesportugal
|
|
|
|