can someone help me figure out why my code will not see the last line eg echo '<div class="div-center">'.$prev_button.$next_button.'</div>';
<h2>5.0 ESB Interface Failures (Total: '.$num_esb.')</h2>
<hr/>';
}
if($num_esb > '0')
{
echo '<table class="data" style="margin-bottom:50px;">
<tr>
<th style="width:6%"> Ticket </th>
<th style="width:8%"> Date </th>
<th style="width:6%"> Time </th>
<th style="width:8%"> Schedule </th>
<th style="width:40%"> ESB Process </th>
<th style="width:6%"> Critical </th>
<th style="width:6%"> Restarted </th>
<th style="width:6%"> Completed </th>
<th style="width:7%"> Type </th>
<th style="width:5%"> Operator </th>
</tr>';
WHILE($row3 = MYSQL_FETCH_ARRAY($esbresult))
{
$abendid = $row3['ID'];
$date_start = $row3['Abend_Date'];
$ticket = $row3['Ticket'];
$time_start = SUBSTR($row3['Abend_Time'], 0, 5);
$batch_schedule = $row3['Batch_Schedule'];
$esb_process = $row3['esb_process'];
$request_details = NL2BR($row3['Error']);
$resolution = NL2BR($row3['Resolution']);
$created_username = $row3['Created_Username'];
$created_timestamp = $row3['Created_Timestamp'];
$edited_username = $row3['edited_username'];
$edited_timestamp = $row3['edited_timestamp'];
$critical = $row3['Critical'];
$restarted = $row3['Restarted'];
$resolved = $row3['Resolved'];
$cause = $row3['Failure_Type'];
$criticalcolor = $critical == 'Y' ? '#C12603' : '#01C425';
$restartedcolor = $restarted == 'N' ? '#C12603' : '#01C425';
$resolvedcolor = $resolved == 'N' ? '#C12603' : '#01C425';
$restartedcolor = $restarted == 'N' ? '#C12603' : '#01C425';
$altcolor = $altcolor == 'rowcolor2' ? 'rowcolor1' : 'rowcolor2';
echo '<tr class="'.$altcolor.'">
<td class="text_center">'.$ticket.'</td>
<td class="text_center">'.$date_start.'</td>
<td class="text_center">'.$time_start.'</td>
<td class="text_center"><a href="index.php?p=10&date='.$batch_schedule.'" title="Go to batch schedule">'.$batch_schedule.'</a></td>
<td class="text_left">
<a href="index.php?p=58&id='.$abendid.'">'.$esb_process.'</a><br/><a href="index.php?p=58&id='.$abendid.'"></a></td>
<td class="text_center" style="background-color:'.$criticalcolor.'">'.$critical.'</td>
<td class="text_center" style="background-color:'.$restartedcolor.'">'.$restarted.'</td>
<td class="text_center" style="background-color:'.$resolvedcolor.'">'.$resolved.'</td>
<td class="text_center">'.$cause.'</td>
<td class="text_center">'.$created_username.'</td>
</tr>';
}
echo '</table>
<hr/>';
echo '<div class="div-center">'.$prev_button.$next_button.'</div>';
}
?>