rendered paste bodytry { $sqe = new StoredProcExecutor(); $param = array(1); $res = &$sqe->query('sample', $param); while (($row = $res->fetchRow())) { echo $row[0] . ' | ' . $row[1] . ' | ' . $row[2] . '<br>'; } $qe = new QueryExecutor(); $res = &$qe->query('select chapter_id, chapter_name, product_id from tbl_chapter'); while (($row = $res->fetchRow())) { echo $row[0] . ' | ' . $row[1] . ' | ' . $row[2] . '<br>'; }} catch (Exception $e) { echo $e->getMessage() . '<br>';}