Combining multiple classes gives me errors

Posted by Martti Laine on Stack Overflow See other posts from Stack Overflow or by Martti Laine
Published on 2010-04-05T17:40:55Z Indexed on 2010/04/05 17:43 UTC
Read the original article Hit count: 294

Filed under:
|

Hello

I'm creating a website with structure like this:

class main { }

class mysql extends main { }

class user extends main { }

class etc extends main { }

The idea is for these classes to use functions from each other. This doesn't work. How can I call a function from mysql in user?

Martti Laine

© Stack Overflow or respective owner

Related posts about php

Related posts about class