open($sql); echo '
'; echo '
'; echo '

'.pvs_word_lang( "FAQs" ).'

'; // We get the category table of contents while(!$rs->eof) { echo ''; echo ''; echo ' '.$rs->row['category'].''; echo ''; $category_id = $rs->row['id']; $faqs_sql = "select * from faqs where category_id='".$category_id."'"; $ds->open($faqs_sql); // We get each table of content faq of the specified category while(!$ds->eof) { echo ''; echo ''; echo ''; $ds->movenext(); } echo '
Q: '.$ds->row['question'].'
';echo '
'; $rs->movenext(); } echo '
'; echo '
'; echo '
 
'; $rs->open($sql); // place the question and answers echo '
'; //categories while(!$rs->eof) { echo ''; echo ''; echo ' '.$rs->row['category'].''; echo ''; $category_id = $rs->row['id']; $faq_sql = "select * from faqs where category_id= ".$category_id; $ds->open($faq_sql); // We get each table of content faq of the specified category while(!$ds->eof) { echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; $ds->movenext(); } echo '
Q: '.$ds->row['question'].'
A: '.$ds->row['answer'].'
 
';echo '
'; $rs->movenext(); } echo'
'; echo ''; ?>