<table width="262" border="1" align="center" cellpadding="0" cellspacing="0" style="border:#CCC 1px solid">
               <tr>
                 <td height="23" align="center" style="font-family:Segoe, 'Segoe UI', 'DejaVu Sans', 'Trebuchet MS', Verdana, sans-serif; font-size:13px; font-weight:bold;">S.NO</td>
                 <td  align="center" style="font-family:Segoe, 'Segoe UI', 'DejaVu Sans', 'Trebuchet MS', Verdana, sans-serif; font-size:15px;font-weight:bold;">&nbsp;&nbsp;JobCard No</td>
                 <td  align="center" style="font-family:Segoe, 'Segoe UI', 'DejaVu Sans', 'Trebuchet MS', Verdana, sans-serif; font-size:15px;font-weight:bold;">Del</td>
               </tr>
               <?php
error_reporting(0);
include ("include/db.php");	
  $sql="select * from fusing_jobcard_sub where (jobcard_number='$_POST[jobcard_number]' or jobcard_number='$_GET[jobcard_number]')";
  $rs=mysql_query($sql);
  $rscount=mysql_num_rows($rs);
  $s_no=0;
  while($rsdata=mysql_fetch_array($rs))
  {
	   $jobcard_no=$rsdata['jobcard_no'];
       $id=$rsdata['id'];
	   $jobcard_number=$rsdata['jobcard_number'];
			   ?>
               <tr>
                 <td width="58" height="23" align="center" style="font-family:Segoe, 'Segoe UI', 'DejaVu Sans', 'Trebuchet MS', Verdana, sans-serif; font-size:15px;"><?php echo $s_no = $s_no+1; ?></td>
                 <td width="146" align="center" style="font-family:Segoe, 'Segoe UI', 'DejaVu Sans', 'Trebuchet MS', Verdana, sans-serif; font-size:15px;">&nbsp;<?php echo $jobcard_no; ?></td>
                 <td width="50" align="center" style="font-family:Segoe, 'Segoe UI', 'DejaVu Sans', 'Trebuchet MS', Verdana, sans-serif; font-size:15px;"><a href="#" onClick="delete_jobcard_sub('<?php echo $id;?>','<?php echo $jobcard_no; ?>','<?php echo $jobcard_number; ?>');"><img src="../../img/cross_deletes.png" alt="delete" title="DELETE" border="0" width="16px;" height="15px;" /></a>&nbsp;</td>
               </tr>
               <?php } ?>
</table>