LeChris
Proverbs 3:5
So basically it only 1 result appears
\
No errors are displayed or logged
Code:
<div class="block">
<div class="navbar navbar-inner block-header">
<div class="muted pull-left"> <i class='icon-download'></i>Dashboard Updates</div>
</div>
<div class="block-content collapse in">
<?php
$announce_fetch = "SELECT * FROM cerberus_announcements ORDER by Id";
$announce_result = $mysqli->query($announce_fetch);
$announce = $announce_result->fetch_array(MYSQLI_ASSOC);
echo '<br>';
echo '<div class="alert alert-';
echo $announce["Status"];
echo 'alert-block">';
echo '<h4>';
echo $announce["Title"];
echo '</h4>';
echo '<p>';
echo $announce["Content"];
echo '<br> -';
echo $announce["Author"];
echo '</div></p>';
$announce_result->free();
if ($mysqli->connect_errno) {
printf("Connect failed: %s\n", $mysqli->connect_error);
exit();
}
?>
No errors are displayed or logged