List of Deceased Person New

setQuery($query); $cur = $mydb->loadResultList(); foreach ($cur as $result) { // $borndate = ($result->BORNDATE !='0000-00-00') ? date_format(date_create($result->BORNDATE), "m/d/Y"): 'NONE'; // $dieddate = ($result->DIEDDATE !='0000-00-00') ? date_format(date_create($result->DIEDDATE), "m/d/Y") : 'NONE'; $borndate = $result->BORNDATE; $dieddate = $result->DIEDDATE; echo ''; echo ''; // echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; } ?>
# Name of the Deceased Born Died Section Location
'. $result->GRAVENO.''.$result->LNAME.', '.$result->FNAME.' '.$result->MNAME.''.$result->FNAME.''. $borndate.''. $dieddate.''. $result->CATEGORIES.''. $result->LOCATION.'