mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-12-25 18:13:48 +01:00
Removed numbered box data
This commit is contained in:
parent
c0e1129bb2
commit
455074e9cc
@ -8,7 +8,7 @@
|
|||||||
$statement = $db->prepare("SELECT * FROM $table where date >= FROM_UNIXTIME(:hourago) AND remoteip = :remoteip");
|
$statement = $db->prepare("SELECT * FROM $table where date >= FROM_UNIXTIME(:hourago) AND remoteip = :remoteip");
|
||||||
$statement->execute(array( ':hourago' => $hourago,
|
$statement->execute(array( ':hourago' => $hourago,
|
||||||
':remoteip' => $remoteip));
|
':remoteip' => $remoteip));
|
||||||
$boxes = $statement->fetchAll();
|
$boxes = $statement->fetchAll(PDO::FETCH_CLASS);
|
||||||
} catch (PDOException $e) {
|
} catch (PDOException $e) {
|
||||||
$response = array( "status" => "error",
|
$response = array( "status" => "error",
|
||||||
"msg" => $e->getMessage()." (".$e->getCode().")");
|
"msg" => $e->getMessage()." (".$e->getCode().")");
|
||||||
|
Loading…
Reference in New Issue
Block a user