How do i make guess the logo game in PHP where users can log in and earn xps
<p>Â </p> <p><br /><html><br /><head></p> <p></head><br /><title></p> <p></title> <br /><body><br /><?php<br /> session_start();<br /> // Page was not reloaded via a button press<br /> if (!isset($_POST['add'])) {<br /> $_SESSION['attnum'] = 1; // Reset counter <br /> <br /> }<br />?></p> <p><h2>Earned Xps: <?php echo $_SESSION['attnum']+= ?> </h2><br></p> <p><img src="logo1.jpg" width="150" height="150" style="border:1px black" alt="Stockoverflow Logo"><br /> <p></p><br /> <form method="post"><br /> <input type="text" required placeholder="GUESS THE LOGO" pattern=".{4,}" title="CAPITAL LETTERS ONLY"/> <br><br><br /> <input type="submit" name="add"/><br><!-- every time they press the submit button i want their xp to increase `by .10 --></p> <p></form><br /></body><br /></html></p> <p>Â </p>