Combining multiple classes gives me errors in PHP?
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:53 UTC
Read the original article
Hit count: 308
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