Compare commits

..

No commits in common. "d4911399f16486db8562f7691765f98c97713b10" and "414a17a6ff79f37537a7b8848a6cc9b05c17e2d0" have entirely different histories.

2 changed files with 0 additions and 9 deletions

0
parse.php Executable file → Normal file
View File

View File

@ -1,9 +0,0 @@
<?php
include 'config.php';
$sql = "SELECT data.id, place, amount FROM `data` INNER JOIN scans on scans.id=data.scan INNER JOIN sites on sites.id=scans.site WHERE sites.id=2 ORDER BY amount DESC";
echo '<table>';
foreach ($pdo->query($sql) as $row){
echo '<tr><td>'.$row['id'].'</td><td>'.$row['place'].'</td><td>'.$row['amount'].'</td></tr>';
}
echo '<table>';