<?php
session_start();
include "connect.php";



		$id = intval($_REQUEST['id']);
		
		
		

?>

						<div class="table-responsive">
														<!--begin::Table-->
														<table class="table align-middle table-row-dashed fs-6 gy-5 mb-0">
															<!--begin::Table head-->
															<thead>
																<tr class="text-start text-gray-400 fw-bold fs-7 text-uppercase gs-0">
																	 <th>Sem
                            </th>
                            <th>Intake Month
                            </th>
							<th>Intake Year
                            </th>
							<th>Term Fees
                            </th>
                           

							
																	
																	
																</tr>
															</thead>
															<!--end::Table head-->
															<!--begin::Table body-->
															<tbody class="fw-semibold text-gray-600">
															<?php
															$i=1;
															$tt1=0;
															$evepay = "select * from res_admissioncoursesem_detail where admid=$id";
															$repay = mysqli_query($conn, $evepay);
															$i=1;
															while($rtpay = mysqli_fetch_assoc($repay))
															{
															$adintakeyear=$rtpay['asemstartyear'];
															$adintakemonth = sprintf("%02s", $rtpay['asemstartmonth']);

$adintakemonth = date('F',strtotime("01-".$adintakemonth."-".date("Y")));
															
															$asemfees=$rtpay['asemfees'];
															
															?>
																<tr>
																	
																	 <td>
                              <?php echo $i++;?>
                            </td>
                            <td>
                              <?php echo $adintakemonth;?>
                            </td>
							<td>
                              <?php echo $adintakeyear;?>
                            </td> 
							<td>
                              <?php echo $asemfees;?>
                            </td>
                            
							
																	
																</tr>
															<?php } ?>
																</tbody>
															<!--end::Table head-->
														</table>
																			
