mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Format output for the proper code syntax, this should fix many various issues with output formatting and page breakage
This commit is contained in:
@@ -88,12 +88,12 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
|
||||
while($row = mysqli_fetch_array($sql)){
|
||||
$trip_id = $row['trip_id'];
|
||||
$trip_date = $row['trip_date'];
|
||||
$trip_purpose = $row['trip_purpose'];
|
||||
$trip_source = $row['trip_source'];
|
||||
$trip_destination = $row['trip_destination'];
|
||||
$trip_miles = $row['trip_miles'];
|
||||
$trip_purpose = htmlentities($row['trip_purpose']);
|
||||
$trip_source = htmlentities($row['trip_source']);
|
||||
$trip_destination = htmlentities($row['trip_destination']);
|
||||
$trip_miles = htmlentities($row['trip_miles']);
|
||||
$trip_user_id = $row['trip_user_id'];
|
||||
$round_trip = $row['round_trip'];
|
||||
$round_trip = htmlentities($row['round_trip']);
|
||||
$client_id = $row['trip_client_id'];
|
||||
|
||||
if($round_trip == 1){
|
||||
@@ -101,7 +101,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
|
||||
}else{
|
||||
$round_trip_display = "";
|
||||
}
|
||||
$user_name = $row['user_name'];
|
||||
$user_name = htmlentities($row['user_name']);
|
||||
if(empty($user_name)){
|
||||
$user_name_display = "-";
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user