<?php include 'DBO.php'; $connection = connectToDatabase(); $examId = $_GET['examId']; $questionId = $_GET['questionId']; $optionId = $_GET['optionId']; $optionText = $_GET['optionText']; $result = editOption($connection, $examId, $questionId, $optionId, $optionText); echo json_encode($result);
addData(); break; case "delData": delData(); break; case "editData": editData(); break; case "addOption": addOption(); break; case "delOption": delOption(); break; case "editOption": editOption(); break; case "addTerm": addTerm(); break; case "delTerm": delTerm(); break; case "editTerm": editTerm(); break; case "CopyData": CopyData(); break; //case "update": header("Location: ?op=Order_Updater"); break; //case "update": header("Location: ?op=Order_Updater"); break;