I have a ClassA file and a ClassB file stored in
separate directories. I am trying to get ClassB to
initiate a ClassA object. But since they are stored
in seperate directories I get an error.
So I tried including the ClassA file in ClassB
constructor:
function ClassB()
{
include("../A/ClassA.class.php");
...
}
i cant get this working. How do i solve this problem
without having both class files in the same directory.
Ben
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php