Skip to content

Commit 7701557

Browse files
committed
🎉 start part 11 new title and bs4 form
1 parent d2b0678 commit 7701557

File tree

1 file changed

+30
-23
lines changed

1 file changed

+30
-23
lines changed

index.php

Lines changed: 30 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,42 @@
66
<head>
77
<meta charset="UTF-8">
88
<meta name="viewport" content="width=device-width, initial-scale=1.0">
9-
<title>System Info</title>
9+
<title>Get &amp; Post Requests</title>
1010
<link rel="stylesheet" href="css/style.min.css">
1111
</head>
1212
<body>
1313
<div class="container">
1414
<h1>$_SERVER Examples</h1>
1515
<p>Project repository and changes tracked on <a rel="nofollow" target="_blank" href="https://github.com/devnetkc/lrnPHP" title="lrnPHP PHP Front to Back repository on GitHub">GitHub.</a></p>
16-
<h2 class="pt-2">Server &amp; File Info</h2>
17-
<?php if ($server): ?>
18-
<ul class="list-group">
19-
<?php foreach ($server as $key => $value): ?>
20-
<li class="list-group-item">
21-
<strong><?php echo $key;?>: </strong>
22-
<?php //echo $value; ?>erased for security purposes
23-
</li>
24-
<?php endforeach; ?>
25-
</ul>
26-
<?php endif; ?>
27-
<h2 class="pt-2">Client Info</h2>
28-
<?php if ($client): ?>
29-
<ul class="list-group">
30-
<?php foreach ($client as $key => $value): ?>
31-
<li class="list-group-item">
32-
<strong><?php echo $key;?>: </strong>
33-
<?php echo $value; ?>
34-
</li>
35-
<?php endforeach; ?>
36-
</ul>
37-
<?php endif; ?>
16+
<div class="row">
17+
<div class="col-12-sm col-6-md col-4-lg col-3-xlg">
18+
<div class="container ml-3 my-card">
19+
<form>
20+
<div class="form-group">
21+
<label for="formInputEmail">
22+
Email address
23+
</label>
24+
<input type="email" class="form-control" id="formInputEmail" aria-describedby="emailPrivacyNotice" placeholder="Enter email">
25+
<small id="emailPrivacyNotice">We'll never share your email with anyone else</small>
26+
</div>
27+
<div class="form-group">
28+
<label for="formInputPassword">
29+
Password
30+
</label>
31+
<input type="password" class="form-control" id="formInputPassword" placeholder="password">
32+
</div>
33+
<div class="form-group">
34+
<input type="checkbox" class="form-check-input" id="formInputCheck1">
35+
<label class="form-check-label" for="formInputCheck1">Select checkmark value</label>
36+
</div>
37+
<button type="submit" class="btn btn-secondary">Submit</button>
38+
</form>
39+
</div>
40+
</div>
41+
<div class ="col-12-sm col-6-md col-8-lg col-3-xlg">
42+
43+
</div>
44+
</div>
3845
</div>
3946

4047
</body>

0 commit comments

Comments
 (0)