[PHP] require_once hell

2006-03-29 Thread Adrian Bruce
Hi this may be a stupid moment but i cant find an help on google so.i am including two classes in my code using the require_once(path to file) method. this works fine for the first class but when including the second it simply outputs the contents on to the page. I feel I must be

Re: [PHP] require_once hell

2006-03-29 Thread Thomas Munz
Forgot the ?php tag in the second class? on Wednesday 29 March 2006 12:48, Adrian Bruce wrote: Hi this may be a stupid moment but i cant find an help on google so.i am including two classes in my code using the require_once(path to file) method. this works fine for the first class but

Re: [PHP] require_once hell

2006-03-29 Thread gustav
Hi this may be a stupid moment but i cant find an help on google so.i am including two classes in my code using the require_once(path to file) method. this works fine for the first class but when including the second it simply outputs the contents on to the page. I feel I must be