http://php.flashwebhost.com/sherly/result.php
Code:<?php $rollNo1 ='Student Name'; $mark ='Student Mark'; if (isset($_GET['rollNo1'] )) { echo ' Name : ' . $rollNo1 . '<br>'; echo ' Mark : ' . $mark . '<br>'; echo '<hr> '; echo ' result here - passed/failed'; } else { echo ' <h1>Medical Entrance Exam Result</h1> <p>Please enter roll No.</p> <form action="result.php" method="GET"> Roll No : <input name="rollNo1" type="text"> <button type="submit">submit </button> </form> ';}
Bookmarks