I have this code:
$dateInt = intval($date);
$stmt = $this->db->prepare('SELECT * FROM establecimientos WHERE timestamp > ?');
$stmt->bindParam($dateInt);
$stmt->execute();
And I'm receiving this error:
Call to undefined method mysqli_stmt::bindParam()
I'm sure there's something terribly wrong, but I cannot certainly know!