$result = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT * FROM hardware ORDER BY date DESC"); while ($row = mysqli_fetch_assoc($result)) { if($row['public'] == 1) { ?>} }?>