Skip to content

Instantly share code, notes, and snippets.

<?php
$input = $_POST['sn'] ?? 5;
?>
<html>
<form method="post">
<input type="number" name="sn" value="<?= $input; ?>">
<input type="submit">
</form>
</html>
<?php
@Goldman40
Goldman40 / gist:7d72731daf4df69a7f6f
Created January 13, 2016 13:57 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>