where parsed=0

This commit is contained in:
Göran Heinemann 2020-03-16 16:46:34 +01:00
parent 66e62b99ff
commit 10ae53edf4

View File

@ -1,7 +1,7 @@
<?php <?php
include 'config.php'; include 'config.php';
$sql = "SELECT * FROM scans where site=4"; $sql = "SELECT * FROM scans where site=4 and parsed=0";
$stmt = $pdo->query($sql); $stmt = $pdo->query($sql);
$data = $stmt->fetchAll(PDO::FETCH_ASSOC); $data = $stmt->fetchAll(PDO::FETCH_ASSOC);
foreach ($data as $row){ foreach ($data as $row){