JSFiddle - React, Tailwind, and code Playground
by Bai Shiuan Huang
HTML
<?php session_start();?>
<?php
$_SESSION['ans'][0] = rand(0,9);
$_SESSION['ans'][1] = rand(0,9);
$_SESSION['ans'][2] = rand(0,9);
$_SESSION['ans'][3] = rand(0,9);
if(isset($_SESSION['views']))
echo "Views=". $_SESSION['views'][0];
if(isset($_POST['gs'])){
if($_POST['gs']/1000 == $_SESSION['ans'][0]){
echo "FUCK!!!";
}
}
?>
<form action="" method="post">
keyin a number :
<input name="gs" type="number" />
<input name="" type="submit" />
</form>