<!-- Beginning of Other Relevant Qualifications --> <table class="table table-hover"> <caption><h4>Professional and Other Relevant Qualifications</h4></caption> <thead> <tr> <th>Name of Institution</th> <th>From</th> <th>To</th> <th>Qualification</th> <th>Grade</th> </tr> </thead> <tbody id="other_qualifications"> <?php $sql_qualification = "SELECT * FROM other_relevant_qualifications WHERE applicant_id=" . $session->applicant_id; $result_qualification = Qualifications::find_by_sql($sql_qualification); //print_r($result_qualification); if (!empty($result_qualification)) { $j = 1; foreach ($result_qualification as $row) { $name_of_insti_ID = 'other_qualification_institute_name_' . $j; $from_ID = 'other_qualification_from_' . $j; $to_ID = 'other_qualification_to_' . $j; $certificate_ID = 'other_qualification_certificate_' . $j; $grade_ID = 'other_qualification_grade_' . $j; $qual_id = 'qual_id_' . $j; ?> <tr> <td> <div class="control-group"> <input type="text" value="<?php