<pre><?php include_once 'db.php'; $db = new db(); $result = $db->fetch_rowset('SELECT * FROM table ORDER BY field ASC'); print_r($result); ?></pre>