<thead> <tr> <th>رقم</th> <th>اسم القسم</th> <th>العنوان</th> <th>المحتوي</th> <th>الصوره</th> <!--<th>تعديل</th>--> <!--<th> حذف</th>--> </tr> </thead> <tbody> <?php $num = 1; $department = new departement(); $result_set = $department->selectAllDepartInfo($con); if (mysqli_num_rows($result_set)) { while ($all = mysqli_fetch_array($result_set)) { ?> <tr class="odd gradeX"> <td><?php echo $num++; ?> </td> <td><?php echo $all['depart_name']; ?> </td> <td><?php echo $all['title'];