示例#1
0
function save_travel_course()
{
    $id = $_POST['0'];
    $tvid = $_POST['1'];
    $code = htmlspecialchars($_POST['2']);
    $name = htmlspecialchars($_POST['3']);
    $credits = $_POST['4'];
    $grade = $_POST['5'];
    $ctype = $_POST['6'];
    $idfmfi = $_POST['7'];
    db_save_travel_course($id, $tvid, $code, $name, $credits, $grade, $ctype, $idfmfi);
}
示例#2
0
function save_travel_course($ft)
{
    $id = $_POST['0'];
    $code = htmlspecialchars($_POST['1']);
    $name = htmlspecialchars($_POST['2']);
    $credits = $_POST['3'];
    $grade = $_POST['4'];
    $ctype = $_POST['5'];
    db_save_travel_course($id, $ft, $code, $name, $credits, $grade, $ctype);
}