i am making project for college on ONLINE EXAMINATION SYSTEM
here there are 3 modes student,professor and admin
professor uploads the questions..he is having more then 500 questions.....from which 20 questions will be randomly selected during examination.................the professor will write all questions in .txt file...........now i need a code where the professor will only upload .txt file and all the questions in it line by line will be scanned and will be stored in the database.......all questions are having 4 options (objective type questions)..............................