diff --git a/viewevent.php b/viewevent.php index 3c5fcdf..cbd2af5 100644 --- a/viewevent.php +++ b/viewevent.php @@ -36,26 +36,31 @@ $eventid=$_GET['eventid']; if ($result1->num_rows >0){ while ($row1 = $result1->fetch_assoc()) { echo "
"; - // echo "Datacenter: "; - // $row1['dc_name']; - echo "Unit: "; - print_r($row1['unit_name']); - echo "
"; - echo "Alert: "; - print_r($row1['alert_name']); - echo "
"; - echo "Start Date and Time: "; - print_r($row1['date_time_start']); - echo "
"; - echo "Currently Ongoing? "; - if($row1['is_ongoing'] ==1) { - echo "Yes"; - } else { - echo "No"; - } - echo "
"; - echo "End Date and Time: "; - print_r($row1['date_time_end']); + echo "
"; + echo "Unit: "; + echo ""; + print_r($row1['unit_name']); + echo "
"; + echo "Alert: "; + echo ""; + print_r($row1['alert_name']); + echo "
"; + echo "Start Date and Time: "; + echo ""; + print_r($row1['date_time_start']); + echo "
"; + echo "Currently Ongoing? "; + echo ""; + if($row1['is_ongoing'] ==1) { + echo "Yes"; + } else { + echo "No"; + } + echo "
"; + echo "End Date and Time: "; + echo ""; + print_r($row1['date_time_end']); + echo "
"; } } else { echo "

ERROR Event ID Not Found

";