データベース

スタッフ登録修正

staff_edit.php <html lang="ja"> <head> <meta charset="UTF-8"> <title>スタッフ情報編集画面| おいしい野菜農園</title> <link rel="stylesheet" href="style.css"> </head> <body> <div id="container"> 変更するスタッフが選択されていません。</p>'; print '<form>'; prin…</form>

スタッフ登録

index.php <html lang="ja"> <head> <meta charset="UTF-8"> <title>おいしい野菜農園</title> </head> <body> <header> <h1>スタッフ追加</h1> </header> <section id="form"> <form action="staff_add_check.php" method="post" id="staff"> <p><label for="passwoed">スタッフ名を入力してください</label><br> </p></form></section></body></html>

phpとデータベースの連動

コンタクトフォームindex.php <html lang="ja"> <head> <meta charset="utf-8"> <title>phpメールフォーム</title> </meta></head></html>

お問い合わせフォームをデータベースと連携

input.php <html> <head> <meta charset="utf-8"> <title>お問い合わせ入力フォーム</title> <link rel="stylesheet" type="text/css" href="css/style.css"> </head> <body> <div id="confirmation"> <form action="check.php" method="POST" id="inquiry"> <table> <tr> <th><label for="name">お名前</label></th> <td>…</td></tr></table></form></div></body></html>