   
 
<div style="background-color:#FFF; height:auto;" align="center">
 
   <img id="loder" style="visibility:hidden;"  src="images/ajax-loader.gif" align="middle" alt="Loder" />
 
 
     <table style='width:95%; height:auto;' cellpadding='0' cellspacing='0' border='0' align="center">
     
     <thead  style="color:#060;" >
						<th style='border-bottom:1px solid #000;width:3%; '>&nbsp;SL</th> 
                        <th style='border-bottom:1px solid #000;width:5%;'>Pin</th>
						<th style='border-bottom:1px solid #000;width:22%;'>Name</th>
						<th style='border-bottom:1px solid #000;width:25%;'>Department</th>
                        
						<th style='border-bottom:1px solid #000;width:15%;'>Designation</th>
                        <th align="center" style='border-bottom:1px solid #000;width:30%;color:#900'>Assumptions</th>
                        
 
			 
					</thead> 
 
 
 <?php 	include('config/database_connection.php'); 
 
 				
				
 	$display = "";
	$connecttion = getSQLConection();
	
	$query = "EXEC [dbo].[usp_execute_assumption_result]  $_REQUEST[group_id], $_REQUEST[type]   ";
	 
 
	$result = sqlsrv_query($connecttion, $query);


 		$i = 1;
		
		while($row = sqlsrv_fetch_array($result))
		{
			$display .= "<tr style='height:35px;color:#060;' >
				<td style='border-bottom:1px solid #000; ' align='left' >
			 	&nbsp;$i.
				</td>
				<td style='border-bottom:1px solid #000;' align='left' >
			 	$row[emp_id]
				</td>
				<td style='border-bottom:1px solid #000;' align='left' >
			    $row[Emp_name]
				</td>
				<td style='border-bottom:1px solid #000;' align='left' >
			    $row[Emp_Dep]
				</td>
				<td style='border-bottom:1px solid #000;' align='left' >$row[Emp_Des]
	 
				</td>
				 
				<td style='border-bottom:1px solid #000;  color:#900;' align='center' >
			    $row[result]
				</td>
				 
				
			 
			</tr> ";
			
			$i++;
			
		} 
	
 echo $display;
 
 ?>

     <tr> <td colspan="6">&nbsp;</td></tr>
						 

</table>
 

	 