ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
<!-- saved from url=(0042)http://www.ekerni.com/register.php?MType=S --> 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO- 
8859-1"> 
<title>Jaffna Hindu College- Leading National School in Sri Lanka</title> 
<link href="./RegisterNewStudent_files/styles.css" rel="stylesheet" 
type="text/css"> 
<meta name="Description" content="Jaffna Hindu College - Leading National School 
in Sri Lanka"> 
<meta name="keywords" content="Jaffna Hindu CollegeJaffna, Students, Teachers, 
Principals"> 
<script type="text/javascript"> 
</script> 
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center"> 
<tbody><tr> 
<td class="HeaderBg" height="85"> 
<table width="950" border="0" cellpadding="0" cellspacing="0" align="center"> 
<tbody><tr> 
<td class="HeaderBg" height="88"> 
<table width="100%" border="0" cellspacing="0" cellpadding="0"> 
<tbody> 
<td align="left"><img border="0" src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading 
National School in Sri Lanka_files/JaffnaHinduCollgeLogo.gif" alt="Jaffna Hindu 
College" width="85" height="80"></a><img border="0" src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- 
Leading National School in Sri Lanka_files/TopHeading.gif" alt="Jaffna Hindu 
College" width="245" height="80"></a></td> 
<td>&nbsp;</td> 
</tbody></table> 
</td> 
</tr> 
</tbody></table> 
</td> 
</tr> 
<tr> 
<td bgcolor="#0D2E73"> 
<table width="950" border="0" cellspacing="0" cellpadding="0" align="center"> 
<tbody><tr height="22"> 
<td class="MenuText" width="100" align="center"><a 
href="home.htm">Home</a></td> 
<td width="3"><img src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in 
Sri Lanka_files/MenuBar.gif" width="3" height="22"></td> 
<td class="MenuText" width="90" align="center"></td> 
<td width="3"><img src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in 
Sri Lanka_files/MenuBar.gif" width="3" height="22"></td> 
<td class="MenuText" width="100" align="center"><a 
href="Student.htm">Students</a></td> 
<td width="3"><img src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in 
Sri Lanka_files/MenuBar.gif" width="3" height="22"></td> 
<td class="MenuText" width="100" align="center"></td> 
<td width="3"><img src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in 
Sri Lanka_files/MenuBar.gif" width="3" height="22"></td> 
<td class="MenuText" width="100" align="center"><a 
href="Teacher.htm">REMOVE A PERSON</a></td> 
<td width="3"><img src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in 
Sri Lanka_files/MenuBar.gif" width="3" height="22"></td> 
<td class="MenuText" width="100" align="center"></td> 
<td width="3"><img src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in 
Sri Lanka_files/MenuBar.gif" width="3" height="22"></td> 
<td class="MenuText" width="100" align="center"><a 
href="Principal.htm">Principals</a></td> 
<td width="3"><img src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in 
Sri Lanka_files/MenuBar.gif" width="3" height="22"></td>
<td class="MenuText" width="100" align="center"></td> 
<td width="3"><img src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in 
Sri Lanka_files/MenuBar.gif" width="3" height="22"></td> 
<td class="MenuText" width="100" align="center"><a 
href="Staff.htm">Staff</a></td> 
<td>&nbsp;</td> 
</tr> 
</tbody></table> 
</td> 
</tr> 
<tr> 
<td><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
<tbody><tr> 
<td height="25" bgcolor="#EDEFF4"> 
<table width="950" border="0" cellspacing="0" cellpadding="0" align="center"> 
<tbody><tr> 
<td height="32" bgcolor="#EDEFF4"> 
<table width="950" border="0" cellspacing="0" cellpadding="0" align="center"> 
<tbody><tr> 
<td class="HeadText" align="left"> 
</td> 
</tr> 
</tbody></table></td> 
</tr> 
</tbody></table> 
</td> 
</tr> 
<tr> 
<td height="1" bgcolor="#D4DAE8"></td> 
</tr> 
<tr> 
<td><br> 
</td> 
</tr> 
<tr> 
<td height="450" valign="top"> 
<table width="700" border="0" cellspacing="0" cellpadding="0" align="center" 
bgcolor="#E9ECF2"> 
<tbody><tr> 
<table border="0" cellspacing="0" cellpadding="0" align="center" width="100%"> 
<tbody><tr> 
<td> 
<td width="11"><img 
src="./RegisterNewStudent_files/box_top_left_corner.gif" width="11" height="11" 
border="0"></td> 
<td background="./RegisterNewStudent_files/box_top_bar.gif" 
valign="bottom" align="center"> 
</td><td width="11"> <img height="11" alt="" 
src="./RegisterNewStudent_files/box_top_right_corner.gif" width="11" 
border="0"></td> 
</tr> 
<table width="100%" border="1" bordercolor="#4D4D4D" > 
<tr> 
<th bgcolor="#4D4D4D" class="style3"><div align="left" 
class="style9 style5"><strong>First Name </strong></div></th> 
<th height="32" bgcolor="#4D4D4D" class="style3"><div 
align="left" class="style9 style5"><strong>Last Name</strong></div></th> 
<th bgcolor="#4D4D4D" class="style3"><div 
align="left" class="style9 style5"><strong>Address</strong></div></th> 
<th bgcolor="#4D4D4D" class="style3"><div align="left"
class="style9 style5"><strong>Nic NUMBER </strong></div></th> 
</tr> 
<?php 
include('config.php'); 
$NIC=$_POST['NIC']; 
// Specify the query to execute 
$sql = "select * from school_society,student where NIC_NO='".$NIC."'"; 
// Execute query 
$result = mysql_query($sql,$con); 
// Loop through each records 
while($row = mysql_fetch_array($result)) 
{ 
$NO=$row['NIC_NO']; 
$SLNAME=$row['L_NAME']; 
$FNAME=$row['F_NAME']; 
$ADDRESS=$row['ADDRESS']; 
?> 
<tr> 
<td class="style3"><div align="left" class="style9 
style6"><strong><?php echo $FNAME;?></strong></div></td> 
<td class="style3"><div align="left" 
class="style9 style6"><strong><?php echo $SLNAME;?></strong></div></td> 
<td class="style3"><div align="left" class="style9 
style6"><strong><?php echo $ADDRESS;?></strong></div></td> 
<td class="style3"><div align="left" class="style9 
style6"><strong><?php echo $NO;?></strong></div></td> 
</tr> 
<?php 
} 
?> 
<?php 
// Close the connection 
mysql_close($con); 
?> 
</table> 
</tbody></table> 
<br> 
</td> 
</tr> 
</tbody></table> 
</td> 
</tr> 
</tbody></table> 
</body></html>

More Related Content

Check

  • 1. <!-- saved from url=(0042)http://www.ekerni.com/register.php?MType=S --> <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO- 8859-1"> <title>Jaffna Hindu College- Leading National School in Sri Lanka</title> <link href="./RegisterNewStudent_files/styles.css" rel="stylesheet" type="text/css"> <meta name="Description" content="Jaffna Hindu College - Leading National School in Sri Lanka"> <meta name="keywords" content="Jaffna Hindu CollegeJaffna, Students, Teachers, Principals"> <script type="text/javascript"> </script> <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center"> <tbody><tr> <td class="HeaderBg" height="85"> <table width="950" border="0" cellpadding="0" cellspacing="0" align="center"> <tbody><tr> <td class="HeaderBg" height="88"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tbody> <td align="left"><img border="0" src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in Sri Lanka_files/JaffnaHinduCollgeLogo.gif" alt="Jaffna Hindu College" width="85" height="80"></a><img border="0" src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in Sri Lanka_files/TopHeading.gif" alt="Jaffna Hindu College" width="245" height="80"></a></td> <td>&nbsp;</td> </tbody></table> </td> </tr> </tbody></table> </td> </tr> <tr> <td bgcolor="#0D2E73"> <table width="950" border="0" cellspacing="0" cellpadding="0" align="center"> <tbody><tr height="22"> <td class="MenuText" width="100" align="center"><a href="home.htm">Home</a></td> <td width="3"><img src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in Sri Lanka_files/MenuBar.gif" width="3" height="22"></td> <td class="MenuText" width="90" align="center"></td> <td width="3"><img src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in Sri Lanka_files/MenuBar.gif" width="3" height="22"></td> <td class="MenuText" width="100" align="center"><a href="Student.htm">Students</a></td> <td width="3"><img src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in Sri Lanka_files/MenuBar.gif" width="3" height="22"></td> <td class="MenuText" width="100" align="center"></td> <td width="3"><img src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in Sri Lanka_files/MenuBar.gif" width="3" height="22"></td> <td class="MenuText" width="100" align="center"><a href="Teacher.htm">REMOVE A PERSON</a></td> <td width="3"><img src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in Sri Lanka_files/MenuBar.gif" width="3" height="22"></td> <td class="MenuText" width="100" align="center"></td> <td width="3"><img src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in Sri Lanka_files/MenuBar.gif" width="3" height="22"></td> <td class="MenuText" width="100" align="center"><a href="Principal.htm">Principals</a></td> <td width="3"><img src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in Sri Lanka_files/MenuBar.gif" width="3" height="22"></td>
  • 2. <td class="MenuText" width="100" align="center"></td> <td width="3"><img src=/slideshow/check-40006812/40006812/"./Jaffna Hindu College- Leading National School in Sri Lanka_files/MenuBar.gif" width="3" height="22"></td> <td class="MenuText" width="100" align="center"><a href="Staff.htm">Staff</a></td> <td>&nbsp;</td> </tr> </tbody></table> </td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tbody><tr> <td height="25" bgcolor="#EDEFF4"> <table width="950" border="0" cellspacing="0" cellpadding="0" align="center"> <tbody><tr> <td height="32" bgcolor="#EDEFF4"> <table width="950" border="0" cellspacing="0" cellpadding="0" align="center"> <tbody><tr> <td class="HeadText" align="left"> </td> </tr> </tbody></table></td> </tr> </tbody></table> </td> </tr> <tr> <td height="1" bgcolor="#D4DAE8"></td> </tr> <tr> <td><br> </td> </tr> <tr> <td height="450" valign="top"> <table width="700" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#E9ECF2"> <tbody><tr> <table border="0" cellspacing="0" cellpadding="0" align="center" width="100%"> <tbody><tr> <td> <td width="11"><img src="./RegisterNewStudent_files/box_top_left_corner.gif" width="11" height="11" border="0"></td> <td background="./RegisterNewStudent_files/box_top_bar.gif" valign="bottom" align="center"> </td><td width="11"> <img height="11" alt="" src="./RegisterNewStudent_files/box_top_right_corner.gif" width="11" border="0"></td> </tr> <table width="100%" border="1" bordercolor="#4D4D4D" > <tr> <th bgcolor="#4D4D4D" class="style3"><div align="left" class="style9 style5"><strong>First Name </strong></div></th> <th height="32" bgcolor="#4D4D4D" class="style3"><div align="left" class="style9 style5"><strong>Last Name</strong></div></th> <th bgcolor="#4D4D4D" class="style3"><div align="left" class="style9 style5"><strong>Address</strong></div></th> <th bgcolor="#4D4D4D" class="style3"><div align="left"
  • 3. class="style9 style5"><strong>Nic NUMBER </strong></div></th> </tr> <?php include('config.php'); $NIC=$_POST['NIC']; // Specify the query to execute $sql = "select * from school_society,student where NIC_NO='".$NIC."'"; // Execute query $result = mysql_query($sql,$con); // Loop through each records while($row = mysql_fetch_array($result)) { $NO=$row['NIC_NO']; $SLNAME=$row['L_NAME']; $FNAME=$row['F_NAME']; $ADDRESS=$row['ADDRESS']; ?> <tr> <td class="style3"><div align="left" class="style9 style6"><strong><?php echo $FNAME;?></strong></div></td> <td class="style3"><div align="left" class="style9 style6"><strong><?php echo $SLNAME;?></strong></div></td> <td class="style3"><div align="left" class="style9 style6"><strong><?php echo $ADDRESS;?></strong></div></td> <td class="style3"><div align="left" class="style9 style6"><strong><?php echo $NO;?></strong></div></td> </tr> <?php } ?> <?php // Close the connection mysql_close($con); ?> </table> </tbody></table> <br> </td> </tr> </tbody></table> </td> </tr> </tbody></table> </body></html>