PDO::ERRMODE_EXCEPTION )); } catch (Exception $e) { die("Error : ".$e->getMessage()); } if (isset($_GET['id'])) { $req = $db->prepare('SELECT * FROM `records` WHERE id=:id'); $req->execute(array( "id"=>$_GET['id'] )); } else { $req = $db->prepare('SELECT * FROM `records` ORDER BY date'); $req->execute(); } ?>
Recorded on =$data['date']?> at =$data['time']?>
" alt="bat sound spectrogram">=$data['license']?> =$data['recordist_name']?>