PDO::ERRMODE_EXCEPTION )); } catch (Exception $e) { die("Error : ".$e->getMessage()); } $req = $db->prepare('SELECT id, recordist_name, file_name, license, species, sound_type, date, time FROM `records` ORDER BY `entry_timestamp` ASC LIMIT 1'); $req->execute(); if ($data = $req->fetch()) { ?>
Recorded on =$data['date']?> at =$data['time']?>
=$data['license']?> =$data['recordist_name']?>