{source}
<!DOCTYPE html>
<html lang="ar">
<head>
<meta charset="UTF-8">
<title>Suivie de Projets selon l'année</title>
<link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.11.3/css/jquery.dataTables.min.css">
<script type="text/javascript" src="//code.jquery.com/jquery-3.5.1.js"></script>
<script type="text/javascript" src="//cdn.datatables.net/1.11.3/js/jquery.dataTables.min.js"></script>
<script type="text/javascript">

$(document).ready(function() {


$('#jquery-datatable-ajax-php').dataTable({



"scrollX": true,



"pagingType": "numbers",



"processing": true,



"serverSide": true,



"ajax": "https://www.commune-ajim.gov.tn/suivieprojets/datatable.php"}



);


$("form#ajax").submit(function(e) {



e.preventDefault(); 



var formData = new FormData(this);



$.ajax({




url: "https://www.commune-ajim.gov.tn/suivieprojets/import_excel.php",




type: 'POST',




data: formData,




success: function (data) {





alert(data)




},




cache: false,




contentType: false,




processData: false



});


});
} );
</script>
</head>
<body>
<div class="container">
<div class="row">
<table id="jquery-datatable-ajax-php" class="display" style="width:100%">

<thead>


<tr>



<th>العنوان</th>



<th>تقدم الانجاز</th>



<th>سنة برمجة المشروع</th>



<th>الكلفة الجملية بالألف دينار </th>



<th>ملاحظات</th>


</tr>

</thead>
</table>
</div>
</body>
</html>
{/source}