Update scripts/todays_detections.php
Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
This commit is contained in:
@@ -57,9 +57,7 @@ $result6 = $statement6->execute();
|
|||||||
$totalspeciestally = $result6->fetchArray(SQLITE3_ASSOC);
|
$totalspeciestally = $result6->fetchArray(SQLITE3_ASSOC);
|
||||||
|
|
||||||
if(isset($_GET['comname'])) {
|
if(isset($_GET['comname'])) {
|
||||||
$birdName = $_GET['comname'];
|
$birdName = htmlspecialchars_decode($_GET['comname'], ENT_QUOTES);
|
||||||
$birdName = str_replace("__", "'", $birdName);
|
|
||||||
$birdName = str_replace("_", " ", $birdName);
|
|
||||||
|
|
||||||
|
|
||||||
// Prepare a SQL statement to retrieve the detection data for the specified bird
|
// Prepare a SQL statement to retrieve the detection data for the specified bird
|
||||||
|
|||||||
Reference in New Issue
Block a user