9 lines
245 B
PHP
9 lines
245 B
PHP
<?php
|
|
include "../../config.php";
|
|
|
|
$sql = "SELECT content FROM scans where id=(SELECT max(id) FROM scans where site=7)";
|
|
$stmt = $pdo->query($sql);
|
|
|
|
|
|
header('Content-type: application/json');
|
|
echo $stmt->fetchAll(PDO::FETCH_ASSOC)[0]['content']; |