prepare($sql); $stmt->bindValue(':f1', $time); $stmt->bindValue(':p1', $row->getDbId()); $stmt->execute(); } }