$get_all = mysql_query("SELECT * from af_feedback WHERE publish = 'yes'");
if(mysql_num_rows($get_all) == 0) {
echo '
'; } } ?>
No feedback
We currently do not have any feedback for the accommodation. If you have stayed with us and would like to leave feedback, you can do so here
Thank you - and we appreciate your comments.
'; } else { while($rows = mysql_fetch_assoc($get_all)) { $date = date('d/m/Y', $rows['date']); $name = $rows['name']; $review = $rows['review']; if(substr($review, 0, 3) != '') {$review = '
'.$review;} echo '
'.$name.' - '.$date.'
'.$review.''; } } ?>