[insert_php]
echo(“
“.$_GET[‘n’].”
“);
$csv = array();
$lines = file(‘http://108.178.202.251/ois/d.aspx?id=’ .$_GET[‘id’], FILE_IGNORE_NEW_LINES);
foreach ($lines as $key => $value)
{
$csv[$key] = str_getcsv($value, ‘;’);
}
$cleanArray = array_pop($csv); //Remove last item (blank) from array
echo(‘
‘);
echo(‘
‘);
echo(‘
‘);
echo(‘
echo(‘
‘);echo(‘
‘);echo(‘
‘);
echo ‘
| Booking # ‘.$_GET[‘id’].’ |
| Intake Date: ‘.$output[6].’ |
| Release Date: ‘.$output[8].’ |
| Date of Birth: ‘.$output[5].’ |
| Age: ‘.$output[1].’ |
| Race: ‘.$output[3].’ |
| Gender: ‘.$output[4].’ |
| Address: ‘.$output[10].’ ‘ .$output[11].’, ‘.$output[12].’ |
| Officer: ‘.$output[13].’ |
‘);
[/insert_php]