include_once("connect_db.php");
echo("Testimonials
");
$sqlTestRes = mysql_query("SELECT * FROM tbl_testimonials ORDER BY id DESC") or die("ERROR: Could not retrieve testimonials");
$sqlTestNum = mysql_num_rows($sqlTestRes);
if($sqlTestNum)
{
while($testimonial = mysql_fetch_assoc($sqlTestRes))
{
$testtext = filterString($testimonial["testimonial"]);
echo("");
echo("".$testimonial["author"]."
");
echo("".$testtext."");
echo("
");
}
}
else
{
echo("Helaas nog geen testimonials
");
}
?>