<form action="test11.php" name="firstSubmit" method="POST"> <p>Total no. of right answers : <input type="text" name="ans" value="<?php echo $right_answer;?>" disabled /></p> <p>Total no. of wrong answers : <input name="wrong" type="text" id="score1" value="<?php echo $wrong_answer;?>" disabled /></p> <p>Total no. of unanswered questions : <input name="unans" type="text" id="score2" value="<?php echo $unanswered;?>" disabled /></p> <button class="btn btn-success btn-block" type="submit"> Get your certificate </button><br><br> </form>
<?php $s = $_POST['ans']; ?>
var_dump( $_POST );
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)