${firstName}
+${key}: ${value}
`).join(""); + + document.getElementById("container-row").innerHTML = + ` +", $row -> first_name,"
+Picture:
+ +First name:
+ +Middle name:
+ +Last name:
+ +Date of birth:
+ +State of residence:
+ +Offense Date: ', htmlspecialchars($new_entry['offense_date'] ?? ""), '
'; + echo 'Type of Offense: ', htmlspecialchars($new_entry['type_of_offense'] ?? ""), '
'; + echo 'Disposition Outcome: ', htmlspecialchars($new_entry['disposition_outcome'] ?? ""), '
'; + echo 'Offense Location: ', htmlspecialchars($new_entry['offense_location_prefix'] ?? ""), ' ', + htmlspecialchars($new_entry['offense_location_street_number'] ?? ""), ' ', + htmlspecialchars($new_entry['offense_location_street_name'] ?? ""), ' ', + htmlspecialchars($new_entry['offense_location_street_type'] ?? ""), ' ', + htmlspecialchars($new_entry['offense_location_unit'] ?? ""), ', ', + htmlspecialchars($new_entry['offense_location_city'] ?? ""), ', ', + htmlspecialchars($new_entry['offense_location_state'] ?? ""), ' ', + htmlspecialchars($new_entry['offense_location_zip_code'] ?? ""), ' ', + htmlspecialchars($new_entry['offense_location_county'] ?? ""), '
'; + + }; + } + + +function renderProfileDisplay( + $var_directory, $var_target_file, $var_first_name, + $var_middle_name, $var_last_name, $var_date_of_birth, + $var_state_of_residence) { + + echo 'FIRST NAME:
', $var_first_name,'MIDDLE NAME:
', $var_middle_name,'LAST NAME:
', $var_last_name,'DATE OF BIRTH:
', $var_date_of_birth,'STATE OF RESIDENCE:
', $var_state_of_residence; + echo '