<?php print_r(retrival("09p71a0520")); ?>
<input type="submit" name='retrival'/> <a href='' onclick='printer()'>Print</a> </form> <div id='php_retival'> <?php echo "<div id='printarea'>"; if(isset($_POST['retrival'])) { if($_POST['srno']!="") { $brid = getBranchFromSrno($_POST['srno']); $obrid = getBranchFilter(); $srno=$_POST['srno']; if($obrid=='%' || $brid==$obrid) { include_once("Retrival.php"); retrival($srno); } else notifyerr("The Student Does Not Correspond To The Branch Concerned With You!"); } else notifyerr("Invalid Hall Ticket Number"); } echo "</div>"; ?> </div> </body> </html>