Şuanki Dizin: /home/wwwdreamtechnolo/public_html/qrscandoctor.in/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/qrscandoctor.in/college.php |
<?php include("header.php"); ?> <style> <style> table { font-family: arial, sans-serif; border-collapse: collapse; text-align:center; width: 100%; text-decoration:none; } td, th { border: 1px solid #dddddd; text-align: left; padding: 8px; text-align:center; text-decoration:none; } tr:nth-child(even) { background-color: #dddddd; text-align:center; text-decoration:none; } </style> </style> <div class="gallery section py-5"> <div class="container"> <div class="h3-head text-center"> <h3 class="title-1">College</h3> </div> <div> <div class="row" style="min-height:700px;"> <table style="width:100%"> <tr style=" background-color:#880015; color:white;"> <th>Sr.No</th> <th>College Name</th> <th>College Address</th> <th>College Website</th> </tr> <?php $report_details = $db->get_all_college_info(); if(!empty($report_details)) { $counter =0; foreach($report_details as $record) { $id = $report_details[$counter][0]; $college_name = $report_details[$counter][1]; $college_address= $report_details[$counter][2]; $college_website= $report_details[$counter][3]; ?> <tr style="text-align:left;"> <td><?php echo $counter+1; ?></td> <td style="text-align:left;"><?php echo $college_name; ?></td> <td style="text-align:left;"><?php echo $college_address; ?></td> <td style="text-align:left;"><?php echo $college_website; ?></td> </tr> <?php $counter++; } } else { ?> <tr> <td colspan="4">No Data Found...</td> </tr> <?php } ?> </table> </div> </div> </div> <?php include('footer.php'); ?>
Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4