On 17 February 2004 22:02, Alex Hogan contributed these pearls of wisdom:

> Hi All,
> 
> 
> 
> What are the rules of thumb for classes and included files?
> 
> 
> 
> Can I not include a file in a class function?

No.  The entire class has to be in the same file (and inside a single set of <?php ?> 
tags).

See the Warning at http://www.php.net/manual/en/language.oop.php

Cheers!

Mike

-- 
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to