Multidimensional array retriving (OOP)

mdrsti1

New Member
i have two classes (Database for queries over database) and News for manipulating articles. On index.php (could be any other page) i call News class, which calls Database class. Everything goes ok, until i have to display result on index.php. Let's say, i save result in $news in News class.How should i retrieve that array in index.php (like return $this->news or something else??). And how to display?Could someone help.
 
Back
Top