Generate function to-:
Accept-: facultyid, type="faculty", studentid, physics marks, chem marks, maths marks, english marks. in JSON format
and add the studentId and marks of subjects in marks database table.
Return-:
"successfully added" message if sucessfully added to DB
respective error message in case of error
"access denied" if type !="faculty"
Generate function to-:
Accept-: facultyid, type="faculty", studentid, physics marks, chem marks, maths marks, english marks. in JSON format
and add the studentId and marks of subjects in marks database table.
Return-:
"successfully added" message if sucessfully added to DB
respective error message in case of error
"access denied" if type !="faculty"