Skip to content

Instantly share code, notes, and snippets.

@MaheKarim
Created July 22, 2019 19:15
Show Gist options
  • Save MaheKarim/4f35d710a618dced02a211a244ad2123 to your computer and use it in GitHub Desktop.
Save MaheKarim/4f35d710a618dced02a211a244ad2123 to your computer and use it in GitHub Desktop.
In House PHP don't Show Problem
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>
Milligram with PHP
</title>
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
<link rel="stylesheet" href="//cdn.rawgit.com/necolas/normalize.css/master/normalize.css">
<link rel="stylesheet" href="//cdn.rawgit.com/milligram/milligram/master/dist/milligram.min.css">
<style>
body{
margin-top: 30px;
}
.ourFirstPTag{
color: darkcyan;
font-family: bold;
font-size: 22px;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="column column-60 column-offset-20">
<h1>Mahe Karim</h1>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
</div>
</div>
<div class="row">
<div class="column column-60 column-offset-20">
<form method="GET">
<label for="fname">First Name</label>
<input type="text" name="fname" id="fname">
<label for="lname">Last Name</label>
<input type="text" name="lname" id="lname">
<button type="submit">Submit</button>
</form>
</div>
</div>
<div class="row">
<div class="column column-60 column-offset-20">
<p class="ourFirstPTag">
First Name: <?php echo $_GET['fname']; ?> <br>
Last Name: <?php echo $_GET['lname']; ?> <br>
</p>
</div>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment