';
$result = $connector->query('SELECT * from Faq where CatID=5 and Site=2 order by CatID');
// Get an array containing the results.
// Loop for each item in that array
$count = 0;
while ($row = $connector->fetchArray($result))
{
echo '- '.$row['Question'].'
'.$row['Answer'].'
';
}
?>
|