コード例 #1
0
ファイル: editOption.php プロジェクト: Dorgam/ICS324_GROUP_2
<?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);
コード例 #2
0
     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;