質問編集履歴
3
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -282,7 +282,7 @@
|
|
282
282
|
|
283
283
|
<ol class="breadcrumb">
|
284
284
|
|
285
|
-
<li><a href="http:/
|
285
|
+
<li><a href="http:/×××.×××.××.××"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>トップ</a></li>
|
286
286
|
|
287
287
|
<li class="active">新規登録フォーム</li>
|
288
288
|
|
2
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -226,16 +226,312 @@
|
|
226
226
|
|
227
227
|
|
228
228
|
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
229
|
?>
|
238
230
|
|
239
231
|
```
|
240
232
|
|
233
|
+
|
234
|
+
|
235
|
+
入力フォームの出力部分のソースコード(registration.php) 新規登録フォーム
|
236
|
+
|
237
|
+
```php
|
238
|
+
|
239
|
+
<!DOCTYPE html>
|
240
|
+
|
241
|
+
<html lang="ja">
|
242
|
+
|
243
|
+
<head>
|
244
|
+
|
245
|
+
<meta charset="utf-8">
|
246
|
+
|
247
|
+
<title>新規登録フォーム</title>
|
248
|
+
|
249
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
250
|
+
|
251
|
+
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" media="screen">
|
252
|
+
|
253
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
</head>
|
258
|
+
|
259
|
+
<body>
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
<form class="form-horizontal" action="confirm.php" method="post">
|
268
|
+
|
269
|
+
<fieldset>
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
<!-- Form Name -->
|
274
|
+
|
275
|
+
<legend style=background-color:#65ace4;><h1 style=text-align:center;>新規登録フォーム</h1></legend>
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
<!-- パンくずリスト-->
|
282
|
+
|
283
|
+
<ol class="breadcrumb">
|
284
|
+
|
285
|
+
<li><a href="http://192.168.33.15"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>トップ</a></li>
|
286
|
+
|
287
|
+
<li class="active">新規登録フォーム</li>
|
288
|
+
|
289
|
+
</ol>
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
<div class="container">
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
<!-- Text input 名前-->
|
300
|
+
|
301
|
+
<div class="form-group" style="margin-top:30px;">
|
302
|
+
|
303
|
+
<label class="col-md-4 control-label" for="name">氏名 <span class="label label-danger">必須</span></label>
|
304
|
+
|
305
|
+
<div class="col-md-4">
|
306
|
+
|
307
|
+
<input name="name" class="form-control input-md" id="name" type="text" placeholder="例:鈴木太郎">
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
</div>
|
312
|
+
|
313
|
+
</div>
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
<!-- Text input メールアドレス-->
|
324
|
+
|
325
|
+
<div class="form-group">
|
326
|
+
|
327
|
+
<label class="col-md-4 control-label" for="email">メールアドレス <span class="label label-danger">必須</span></label>
|
328
|
+
|
329
|
+
<div class="col-md-4">
|
330
|
+
|
331
|
+
<input name="email" class="form-control input-md" id="email" type="email" placeholder="例:suzuki.taro@gmail.com">
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
</div>
|
336
|
+
|
337
|
+
</div>
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
<!-- Text input パスワード-->
|
344
|
+
|
345
|
+
<div class="form-group">
|
346
|
+
|
347
|
+
<label class="col-md-4 control-label" for="password">パスワード <span class="label label-danger">必須</span></label>
|
348
|
+
|
349
|
+
<div class="col-md-4">
|
350
|
+
|
351
|
+
<input name="password" class="form-control input-md" id="password" type="password" placeholder="パスワード">
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
</div>
|
356
|
+
|
357
|
+
</div>
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
<!-- Text input 電話番号 -->
|
362
|
+
|
363
|
+
<div class="form-group">
|
364
|
+
|
365
|
+
<label class="col-md-4 control-label" for="tel">電話番号 <span class="label label-danger">必須</span></label>
|
366
|
+
|
367
|
+
<div class="col-md-4">
|
368
|
+
|
369
|
+
<input name="tel" class="form-control input-md" id="tel" type="tel" placeholder="09011112222 ハイフンなし">
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
</div>
|
374
|
+
|
375
|
+
</div>
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
<!-- Select Basic 都道府県 -->
|
380
|
+
|
381
|
+
<div class="form-group">
|
382
|
+
|
383
|
+
<label class="col-md-4 control-label" for="prefectures">都道府県 <span class="label label-danger">必須</span></label>
|
384
|
+
|
385
|
+
<div class="col-md-4">
|
386
|
+
|
387
|
+
<select name="prefectures" class="form-control" id="prefectures">
|
388
|
+
|
389
|
+
<option value="選択">選択</option>
|
390
|
+
|
391
|
+
<option value="東京">東京</option>
|
392
|
+
|
393
|
+
<option value="名古屋">名古屋</option>
|
394
|
+
|
395
|
+
<option value="大阪">大阪</option>
|
396
|
+
|
397
|
+
<option value="その他">その他</option>
|
398
|
+
|
399
|
+
</select>
|
400
|
+
|
401
|
+
</div>
|
402
|
+
|
403
|
+
</div>
|
404
|
+
|
405
|
+
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
<!-- インラインチェックボックス 趣味 -->
|
410
|
+
|
411
|
+
<div class="form-group">
|
412
|
+
|
413
|
+
<label class="control-label col-md-4" for="checkbox">趣味 <span class="label label-info">任意</span></label>
|
414
|
+
|
415
|
+
<div class="col-md-4">
|
416
|
+
|
417
|
+
<div class="checkbox">
|
418
|
+
|
419
|
+
<label class="checkbox-inline">
|
420
|
+
|
421
|
+
<input name="hobby[]" type="checkbox" value="野球"> 野球
|
422
|
+
|
423
|
+
</label>
|
424
|
+
|
425
|
+
<label class="checkbox-inline">
|
426
|
+
|
427
|
+
<input name="hobby[]" type="checkbox" value="サッカー"> サッカー
|
428
|
+
|
429
|
+
</label>
|
430
|
+
|
431
|
+
</div>
|
432
|
+
|
433
|
+
</div>
|
434
|
+
|
435
|
+
</div>
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
|
442
|
+
|
443
|
+
<!-- インラインラジオボタン 性別 -->
|
444
|
+
|
445
|
+
<div class="form-group">
|
446
|
+
|
447
|
+
<label class="control-label col-md-4" for="checkbox">性別 <span class="label label-info">任意</span></label>
|
448
|
+
|
449
|
+
<div class="col-md-4">
|
450
|
+
|
451
|
+
<div class="radio-inline" name="gender">
|
452
|
+
|
453
|
+
<input name"gender" type="radio" value="男性" name="gender" id="man">男性
|
454
|
+
|
455
|
+
</div>
|
456
|
+
|
457
|
+
<div class="radio-inline">
|
458
|
+
|
459
|
+
<input name"gender" type="radio" value="女性" name="gender" id="woman">女性
|
460
|
+
|
461
|
+
</div>
|
462
|
+
|
463
|
+
</div>
|
464
|
+
|
465
|
+
</div>
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
<!-- テキストエリア お問い合わせ -->
|
474
|
+
|
475
|
+
<div class="form-group">
|
476
|
+
|
477
|
+
<label class="col-md-4 control-label" for="contact">お問い合わせ <span class="label label-info">任意</span></label>
|
478
|
+
|
479
|
+
<div class="col-md-4">
|
480
|
+
|
481
|
+
<textarea name="contact" placeholder="お問い合わせ" rows="3" class="form-control" id="contact"></textarea>
|
482
|
+
|
483
|
+
</div>
|
484
|
+
|
485
|
+
</div>
|
486
|
+
|
487
|
+
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
<!-- Button 送信ボタン -->
|
494
|
+
|
495
|
+
<div class="form-group">
|
496
|
+
|
497
|
+
<label class="col-md-4 control-label" for="singlebutton"></label>
|
498
|
+
|
499
|
+
<div class="col-sm-offset-5 col-sm-7 col-xs-offset-4 col-xs-8">
|
500
|
+
|
501
|
+
<a href="http://192.168.33.15"><button type="button" name="singlebutton" class="btn btn-primary" id="singlebutton">戻る</button></a>
|
502
|
+
|
503
|
+
<button name="singlebutton" class="btn btn-primary" id="singlebutton">確認する</button>
|
504
|
+
|
505
|
+
</div>
|
506
|
+
|
507
|
+
</div>
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
</div>
|
512
|
+
|
513
|
+
|
514
|
+
|
515
|
+
</fieldset>
|
516
|
+
|
517
|
+
</form>
|
518
|
+
|
519
|
+
|
520
|
+
|
521
|
+
|
522
|
+
|
523
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
|
524
|
+
|
525
|
+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
|
526
|
+
|
527
|
+
</body>
|
528
|
+
|
529
|
+
</html>
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
```
|
534
|
+
|
535
|
+
|
536
|
+
|
241
537
|
![イメージ説明](e3ad34ee556dfbe86138b05620c2c47d.png)
|
1
画像の変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -238,6 +238,4 @@
|
|
238
238
|
|
239
239
|
```
|
240
240
|
|
241
|
-
|
242
|
-
|
243
|
-
![イメージ説明](
|
241
|
+
![イメージ説明](e3ad34ee556dfbe86138b05620c2c47d.png)
|