Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nightingale #94

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions nightingale/form.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

$firstName = $_POST['first_name'];
$lastName = $_POST['last_name'];
$email = $_POST['email'];
$birthday=$_POST['birthday'];
$gender=$_POST['gender'];
$phone=$_POST['phone'];
$track=$_POST['track'];

echo "Hello,<b>{$firstName} {$lastName}</b><br>".
"Your email is <b>" .$email ."</b><br>".
"Your gender is <b>" .$gender ."</b><br>".
"Your are on <b>" .$track ."</b> track<br>".
"Your Phone Number is <b>" .$phone ."</b><br>".
"Your birthday is on <b>" .$birthday ."</b><br>";

?>
123 changes: 123 additions & 0 deletions nightingale/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<!DOCTYPE html>
<html lang="en">

<head>
<!-- Required meta tags-->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<!-- Title Page-->
<title>WeJapa Form</title>
<!-- Font special for pages-->
<link href="https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">

<!-- Main CSS-->
<!-- <link href="css/main.css" rel="stylesheet"> -->
</head>


<body>
<div class="container-fluid">
<div class="row">
<div class="col-lg-4 col-md-4 offset-lg-6 offset-md-4"></div>
<div class="col-lg-8 col-md-8">
<div class="card">
<h2 class="card-header">Registration Form</h2>
<div class="card-body">
<form method="POST" action="form.php">
<div class="row">
<div class="col-lg-8">
<div class="form-group">
<label for="exampleFormControlInput1">First name</label>
<input required class="form-control" id="exampleFormControlInput1" type="text" name="first_name">
</div>
</div>
</div>

<div class="row">
<div class="col-lg-8">
<div class="form-group">
<label for="exampleFormControlInput2">Last name</label>
<input required class="form-control" id="exampleFormControlInput2" type="text" name="last_name">
</div>
</div>
</div>

<div class="row">
<div class="col-lg-8">
<div class="form-group">
<label for="exampleFormControlInput6">Email</label>
<input required class="form-control" id="exampleFormControlInput6" type="email" name="email">
</div>
</div>
</div>

<div class="row">
<div class="col-lg-8">
<div class="form-group">
<label for="exampleFormControlInput7">Phone Number</label>
<input required class="form-control" id="exampleFormControlInput7" type="text" name="phone">
</div>
</div>
</div>

<div class="row">
<div class="col-lg-8">
<div class="form-group">
<label for="exampleFormControlInput3">Birthday</label>
<input required class="form-control" id="exampleFormControlInput3" type="date" name="birthday">
</div>
</div>
</div>


<div class="row">
<div class="col-lg-8">
<div class="form-group">
<label for="exampleFormControlInput4">Gender</label>
<select name="gender" class="form-control" id="exampleFormControlInput4" required>
<option>Male</option>
<option>Female</option>
<option>Others</option>
</select>
</div>
</div>
</div>

<div class="row">
<div class="col-lg-8">
<div class="form-group">
<label for="exampleFormControlInput5">Track</label>
<select name="track" class="form-control" id="exampleFormControlInput5" required>
<option>FrontEnd</option>
<option>BackEnd</option>
<option>Others</option>
</select>
</div>
</div>
</div>

<div class="p-t-15">
<button class="btn btn-primary" type="submit">Submit</button>
</div>
</form>
</div>

</div>
</div>

</div>


</div>

<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>

</body>

</html>
<!-- end document-->