index php input php regist php logincheck php Slides: 10 Download presentation システム全体像 ログイン前 index. php ユーザ登録 ログイン input. php regist. php login_check. php list. php detail. php apply. php top. php 求人情報検索 登録情報変更 応募履歴 ログアウト member_info. php history. php logout. php ログイン後 change_pwd. php 応募処理 誰がどの仕事に応募したか を応募テーブルに挿入する member apply id login_id id m_id j_id 1 sitow 1 1 3 2 chie 2 2 1 3 shibu 3 1 2 id name 1 ショップ 2 家庭教師 3 パン屋 m_id : member id , j_id : job id (外部キー) member apply job 2020/9/30 job Webアプリケーション実験第 2週 3 list. php j_id detail. php apply. php list. php $sql = “SELECT * FROM job”; $result = pg_query($conn, $sql); print “<table>”; for($i = 0; $i < pg_num_rows($result); $i++){ $row = pg_fetch_assoc($result, $i); print <<< EOF <tr> <td>$row[name]</td> <td><a href=”. /detail. php? j_id={$row[id]}”> 詳細</a></td> </tr> EOF; list. phpに } この行を追加する print “</table>”; 2020/9/30 6 detail. php j_id list. php j_id detail. php $j_id = $_GET[j_id]; apply. php 3 パン屋 // id=$j_idであるタプルをテーブルjobから持ってくる // pg_queryを行ってその結果を$resultに入れる // pg_fetch_assocで$rowを作成 … //詳細情報の表示 print <<< EOF //自分の表示させたい項目を表示させる $row[name] EOF; パンを作る仕事です! 時給: 900円~ 応募 //応募ボタンをつくる print<<<EOF <form method=“POST” action=“. /apply. php”> <input type=“hidden” name=“j_id” value=“$j_id”> <input type=“submit” name=“submit” value=“応募”> </form> EOF; j_id をapply. phpに送る Php/index.php?id=Php php://inputDiff between step index and graded index fiberDense index vs sparse indexSimpsons diversity index equationBacteriological index vs morphological indexConsistency index formulaPqli advantages and disadvantagesClustered index và non clustered indexOptical fibrePeripheral input device