06-01-2009, 01:01 PM
|
#1 (permalink)
|
|
The Contributor
Join Date: May 2009
Posts: 53
Thanks: 2
|
Call a function from class 2, inside class 1
Hello! I would like to know the easiest, or best way to do that; call a function from another class inside a class. Both classes are of course included in the page where I want the output.
How should I start learning to do this? Which is the best method for a new to classes guy like me? :)
Mostly it'll just be that I want to connect and query to the MySQL via. my database class, from my, for instance, News class.
|
|
|