Mini Shell
<?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_ugcourses WHERE course_id = '$id'";
$content_res1 = mysqli_query($conn, $content_query1);
$content_row1 = mysqli_fetch_object($content_res1);
$course_id =$content_row1->course_id ;
$course_name=$content_row1->course_name;
$para1=$content_row1->para1;
$para2=$content_row1->para2;
$career_prospect_para=$content_row1->career_prospect_para;
$career_prospect_content = $content_row1->career_prospect_content;
$study_post_para=$content_row1->study_post_para;
$study_post_content = $content_row1->study_post_content;
$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>Para 2: </strong><?php echo $para2; ?></p>
<!-- <p><strong>Career prospect Para: </strong><?php echo $career_prospect_para; ?></p>
<p><strong>Career prospect content : </strong><?php echo $career_prospect_content; ?></p>
<p><strong>Study post para : </strong> <?php echo $study_post_para; ?></p>
<p><strong>Study post Content : </strong> <?php echo $study_post_content; ?></p>
<p><strong>syllabus : </strong> <?php echo $syllabus; ?></p> -->
</div>
Zerion Mini Shell 1.0