<table class="table" width="100%">
								        <tbody>
								          <tr>
								            <th style="width:200px">Program Selected</th>
								            <td><?php 
											$GetProg = mysql_query("SELECT * FROM `sgvu_courses` WHERE `course_id` = '$GetStep1Per1[program]'");
											$GetProg1=mysql_fetch_assoc($GetProg);
											echo $GetProg1['coursename'];
											?></td>
								          </tr>
								          <tr>
								            <th>Student Name</th>
								            <td><?php echo $GetStep1Per1['firstname']; ?> <?php echo $GetStep1Per1['middlename']; ?> <?php echo $GetStep1Per1['lastname']; ?></td>
								          </tr>
                                          <tr>
								            <th style="width:200px">Semester</th>
								            <td><?php
										  $GetSem=mysql_query("SELECT * FROM  `sgvu_stu_sem_allocate` WHERE  `sid` =$id");
										  $GetSem1=mysql_fetch_assoc($GetSem);
										  echo $GetSem1['sem'];
										  ?> Sem</td>
								          </tr>
								          <tr>
								            <th>Sex</th>
								            <td><?php echo $GetStep1Per1['sex']; ?></td>
								          </tr>
								          <tr>
								            <th>Date of Birth</th>
								            <td><?php echo $GetStep1Per1['dob']; ?></td>
								          </tr>
								          <tr>
								            <th>Religion</th>
								            <td><?php
											$GetReligion=mysql_query("SELECT * FROM `religion` WHERE `id` = '$GetStep1Per1[religion]'");
											$GetReligion1=mysql_fetch_assoc($GetReligion);
											echo $GetReligion1['religion'];
											 ?></td>
								          </tr>
										  <tr>
								            <th>Category</th>
								            <td><?php
											$GetCat = mysql_query("SELECT * FROM `category` WHERE `id` = '$GetStep1Per1[cat]'");
											$GetCat1=mysql_fetch_assoc($GetCat);
											echo $GetCat1['category'];
											?></td>
								          </tr>
										  <tr>
								            <th>Father's Name</th>
								            <td><?php echo $GetStep1Per1['father_name']; ?></td>
								          </tr>
										  <tr>
								            <th>Father's Occupation</th>
								            <td><?php echo $GetStep1Per1['father_occupation']; ?></td>
								          </tr>
										  <tr>
								            <th>Father's Anuual Income</th>
								            <td><?php echo $GetStep1Per1['father_anuual_income']; ?></td>
								          </tr>
										  <tr>
								            <th>Mother's Name</th>
								            <td><?php echo $GetStep1Per1['mother_name']; ?></td>
								          </tr>
										  <tr>
								            <th>Mother's Occupation</th>
								            <td><?php echo $GetStep1Per1['mother_occupation']; ?></td>
								          </tr>
										  <tr>
								            <th>Mother's Annual Income</th>
								            <td><?php echo $GetStep1Per1['mother_income']; ?></td>
								          </tr>
								        </tbody>
								      </table>