"; $q="SELECT * FROM follow_up where status <> 'NEW'"; $r = $petition->query($q); while($d = mysqli_fetch_array($r)){ echo "