ドキュメント・ライブラリ

[insert_php] require_once ‘Encode.php’;
try { $db = new PDO(‘mysql:host=mysql591.phy.lolipop.jp;dbname=LAA0062126-essay;charset=utf8’, ‘LAA0062126’, ‘peteatro0625’);
$stt = $db->prepare(‘SELECT * FROM essaylist WHERE e_flg=TRUE ORDER BY e_date DESC’);
$stt->execute();
} catch(PDOException $e) {
die(‘エラーメッセージ:’.$e->getMessage());}
[/insert_php] [insert_php] while ($row = $stt->fetch()) {
print(“

“);
print(“

“);
print(“

“);
print(“

“);
print(“

“);
}
[/insert_php]

執筆時期 タイトル 掲載媒体 PDF表示
“.e($row[‘e_date’]).” “.e($row[‘e_title’]).” “.e($row[‘e_media’]).” 表示