<table class="table align-middle table-row-dashed fs-6 gy-5" id="kt_table_users">
										<!--begin::Table head-->
										<thead>
											<!--begin::Table row-->
											<tr class="text-start text-muted fw-bold fs-7 text-uppercase gs-0">
												<th class="w-10px pe-2">
													<div class="form-check form-check-sm form-check-custom form-check-solid me-3">
														<input class="form-check-input" type="checkbox" data-kt-check="true" data-kt-check-target="#kt_table_users .form-check-input" value="1" />
													</div>
												</th>
												<th class="min-w-125px">Visa Type</th>
												<th class="min-w-125px">Visa Description</th>
												
												
												<th class="text-end min-w-100px">Actions</th>
											</tr>
											<!--end::Table row-->
										</thead>
										<!--end::Table head-->
										<!--begin::Table body-->
										<tbody class="text-gray-600 fw-semibold">
											<!--begin::Table row-->
											<?php 
											include('connect.php');
											
									$eve = "select * from res_visatype_master";
	$re = mysqli_query($conn, $eve);
									
									
									if(mysqli_num_rows($re) > 0)
	{
		$i=1;
		while($rt = mysqli_fetch_assoc($re))
		{
			 	$visatmid=$rt['visatmid'];
				
				
				//$cdelete="<a href='customeredit.php?id=$bumid' onClick=\"return confirm('are you sure you want to delete??');\">Delete</a>";
				
				
				
				
				
				$visatype=str_replace ("'","'",$rt['visatype']);
				$visatype=str_replace ('"','\"',$visatype);
				
				$visatypedesc=str_replace ("'","'",$rt['visatypedesc']);
				$visatypedesc=str_replace ('"','\"',$visatypedesc);
				
				
				
				
				
				
											?>
											<tr>
												<!--begin::Checkbox-->
												<td>
													<div class="form-check form-check-sm form-check-custom form-check-solid">
														<input class="form-check-input" type="checkbox" value="<?php $i++;?>" />
													</div>
												</td>
												<!--end::Checkbox-->
												<!--begin::User=-->
												<td class="d-flex align-items-center">
													<!--begin:: Avatar -->
													
													<!--end::Avatar-->
													<!--begin::User details-->
													<div class="d-flex flex-column">
														<?php echo $visatype; ?>
														
													</div>
													<!--begin::User details-->
												</td>
												<!--end::User=-->
												<!--begin::Role=-->
												<td><?php echo $visatypedesc;?></td>
												<!--end::Role=-->
												<!--begin::Last login=-->
												
												<!--end::Last login=-->
												
												<!--begin::Joined-->
												
												<!--begin::Joined-->
												<!--begin::Action=-->
												<td class="text-end">
													<a href="#" class="btn btn-light btn-active-light-primary btn-sm" data-kt-menu-trigger="click" data-kt-menu-placement="bottom-end">Actions
													<!--begin::Svg Icon | path: icons/duotune/arrows/arr072.svg-->
													<span class="svg-icon svg-icon-5 m-0">
														<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
															<path d="M11.4343 12.7344L7.25 8.55005C6.83579 8.13583 6.16421 8.13584 5.75 8.55005C5.33579 8.96426 5.33579 9.63583 5.75 10.05L11.2929 15.5929C11.6834 15.9835 12.3166 15.9835 12.7071 15.5929L18.25 10.05C18.6642 9.63584 18.6642 8.96426 18.25 8.55005C17.8358 8.13584 17.1642 8.13584 16.75 8.55005L12.5657 12.7344C12.2533 13.0468 11.7467 13.0468 11.4343 12.7344Z" fill="currentColor" />
														</svg>
													</span>
													<!--end::Svg Icon--></a>
													<!--begin::Menu-->
													<div class="menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-gray-600 menu-state-bg-light-primary fw-semibold fs-7 w-125px py-4" data-kt-menu="true">
														<!--begin::Menu item-->
														<div class="menu-item px-3">
															<span data-bs-toggle="tooltip" data-bs-trigger="hover" title="Edit customer details">
													<a href="visatypeedit.php?id=<?php echo $visatmid; ?>" class="menu-link px-3" >Edit</a>
												</span>
														</div>
														<!--end::Menu item-->
														<!--begin::Menu item-->
														<div class="menu-item px-3">
															
															<a href="visatypedelete.php?id=<?php echo $visatmid; ?>" class="menu-link px-3" data-kt-users-table-filter="delete_row" >Delete</a>
														</div>
														<!--end::Menu item-->
													</div>
													<!--end::Menu-->
												</td>
												<!--end::Action=-->
											</tr>
											<!--end::Table row-->
		<?php }
	}
	?>
											
										</tbody>
										<!--end::Table body-->
									</table>
									