FREQUENTLY ASKED QUESTIONS
query($query); while ($db->next_record()) { $cats[$db->f('catid')] = $db->f('title'); } foreach ($cats as $id => $title) { $query = "select idx, question from faq where catid = $id order by displayorder asc"; $db->query($query); if ($db->num_rows()) { ?>

    next_record()) { ?>
  1. f("question"); ?>