';
while ($post = $query->fetch(PDO::FETCH_ASSOC)) {
openBoard($post['board']);
$n = "\n";
if (! isset($post['files'])) {
echo htmlentities('[valid] board/id: ' . $post['board'] . '/' . $post['id'] . ': NULL');
echo '
' . $n;
continue; // 正常
};
$files = json_decode($post['files']);
if (! is_null($files)) {
echo htmlentities('[valid] board/id: ' . $post['board'] . '/' . $post['id'] . ': strlen(files)=' . strlen($post['files']));
echo '
' . $n;
continue; // 正常
};
// 異常
echo htmlentities('[invalid] board/id: ' . $post['board'] . '/' . $post['id'] . ': strlen(files)=' . strlen($post['files']));
echo htmlentities(' table(posts_' . $post['board'] . ')/column(files)');
echo '
' . $n;
echo '';
echo '
' . $n;
};
echo '