PHP using order by for multiple databases?

Jonathan W

New member
I need to find out how to add a order by to the following
(if $this->database-> = product_name order by ASC) - is this posible?


function Load() {
$vars = $this->database->QFetchRowArray("SELECT * FROM `$this->table`
");
if (is_array($vars))
foreach ($vars as $var)
$this->data[$var["name"]] = $var["value"];
 
Back
Top