[PHP] require_once hell
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 missing something stupid so i have not included any example code, any general ideas? Thanks in advance Ade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] require_once hell
Forgot the 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 missing something stupid so i have not included any example code, any > general ideas? > > Thanks in advance > > Ade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] require_once hell
> 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 missing something stupid so i have not included any example code, any > general ideas? > > Thanks in advance > > Ade > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Hi! It would be easier if you would include some code... /Gustav Wiberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php