prepare("SELECT * FROM `info_news` WHERE (`flg` = 0) AND (`id` = :id) LIMIT 1"); $stmt -> execute(array(":id" => $id)); $info_news = $stmt -> fetch() or header("Location: //fuzoku-koukoku.com/"); $stmt -> closeCursor(); $info_id = $info_news['info_id']; //媒体 $stmt = $dbh -> prepare("SELECT * FROM `info` WHERE (`flg` = 0) AND (`info_id` = :info_id)"); $stmt -> execute(array(":info_id" => $info_id)); $info = $stmt -> fetch() or header("Location: //fuzoku-koukoku.com/"); $stmt -> closeCursor(); ?> <?= h($info_news['title']); ?> | <?= h($info['name']); ?>
<?= h($info_news['title']); ?>|<?= h($info['name']); ?>

format('Y年m月d日'); ?>

記事一覧に戻る