Hey I've got a quick question regarding a OOP problem.
The thing is, is that I have a main file (A), and it has two variables (B, and C) that both hold separate classes, class B is the mysql functions and class C is the error functions. What I need to know is how to access the error function in class C from class B.
For example, (i know this is retarded), but in my mysql class, for the error display I have:
mysql_query(......) or parent::C->SetError('omgawd....');
And I know this doesn't work, but it may set an example on what I'm looking for.
Any help would be appreciated.
edit ...(Crap sorry, didn't realize there was an OOP forum before posting)