Ejemplo n.º 1
0
 private function deleteStudent($table, $where)
 {
     $dlt = new mysqlQuery();
     if ($dlt->delete($table, $where)) {
         echo "Student Information Deleted";
     } else {
         echo "Student not deleted";
     }
 }
Ejemplo n.º 2
0
 private function deleteLec($table, $where)
 {
     $dlt = new mysqlQuery();
     if ($dlt->delete($table, $where)) {
         echo "Lecturer Information Deleted";
     } else {
         echo "Lecturer not deleted";
     }
 }
Ejemplo n.º 3
0
 private function deleteCourse($table, $where)
 {
     $dlt = new mysqlQuery();
     if ($dlt->delete($table, $where)) {
         $qury = "ajaxPost1('/ACTA_project/view/admin_staff/courses.php',\$('#c_id'))";
         echo "<div class='panel_upper'>\n                    <div class='p0'>\n                    <label class='p2'> Course Deleted Successfully..!!</label>";
         echo "<td><input class='input data' type='hidden' name='c_id' id='c_id' value=''></td>";
         echo "<td><input class='button1' type='button' name='views' id='views' value='OK' onclick=" . $qury . "></td>";
         echo "</div></div>";
     } else {
         //            echo "Student not deleted";
     }
 }