ブログシステムの構築2(データベース)
「admin」フォルダーの中に、「index.php」を作成
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>記事一覧画面</title> <link href="../css/base.css" rel="stylesheet" type="text/css" media="screen, print" /> </head> <body> <h1>Blogシステム管理画面</h1> <h2>記事一覧画面</h2> <p><a href="input.php">新しい記事を追加する</a></p> <table width="100%"> <tr> <th scope="col">ID</th> <th scope="col">タイトル</th> <th scope="col">編集</th> <th scope="col">削除</th> </tr> <tr> <td>1</td> <td>サンプルのタイトルです</td> <td>編集</td> <td>削除</td> </tr> </table> </body> </html>
レコードセットの作成
バインディング → + →レコードセット
バインディングを設定
デザインビューにする。
サンプルのタイトル文字を選択
上記でつくった「バインディング」パネルの「subject」のアイコンを選択した箇所にドロップ&ドラッグ
繰り返したい領域を選択する(タグセレクタで