Query("SELECT question,answer FROM `faq` ORDER BY id ASC"); if($db->GetNumRows($sql) == 0){ echo '
'.$lang['b_250'].'
'; } $j = 0; foreach($db->FetchArrayAll($sql) as $faq){ $j++; echo '
'.$j.') '.$faq['question'].'
'.BBCode(nl2br($faq['answer'])).'
'; } ?>