Mini Shell

Direktori : /home2/aravindar/public_html/admin/
Upload File :
Current File : /home2/aravindar/public_html/admin/pgcourseview_model.php

<?php 
include("config.php");
$conn = dbconnect();
 
$id = $_GET['id'];

$today= date('Y-m-d');

?>
<div class="modal-header">
    <h5 class="modal-title">Course Id : <?php echo $id; ?></h5>
</div>
<div class="modal-body">
   
    <?php

        $content_query1 = "SELECT * FROM tb1_pgcourses  WHERE pgcourse_id = '$id'";

        $content_res1 = mysqli_query($conn, $content_query1);
        $content_row1 = mysqli_fetch_object($content_res1);

            $course_id =$content_row1->pgcourse_id;
            $course_name=$content_row1->pgcourse_name;
            $para1=$content_row1->para1;
            $scope=$content_row1->scope;
            $career=$content_row1->career;
            $syllabus = $content_row1->syllabus;
            

            ?> 
    <h5 class="text-center">Course Details - <?php echo $course_name; ?> </h5> 
    <p><strong>Para 1 : </strong><?php echo $para1; ?></p>
    <p><strong>Scope: </strong><?php echo $scope; ?></p>
    <p><strong>Career: </strong><?php echo $career; ?></p>
    
</div>

Zerion Mini Shell 1.0