Тестируем класс QuestionDB


Created new question with ID: 441 Read question: Array ( [QuestionID] => 441 [QsLanguage] => English [QsSubject] => Math [QsText] => What is 2 + 2? [RightAnswer] => 4 [QsAns1] => 1 [QsAns2] => 2 [QsAns3] => 3 [QsAns4] => 4 [QsAns5] => 5 [QsAns6] => 6 [QsDifficulty] => 1 [QsAnswerDescription] => 2 plus 2 equals 4. [QsSubjectImage] => subject_image.jpg [QsAnswerImage] => answer_image.jpg ) Updated question: Array ( [QuestionID] => 441 [QsLanguage] => English [QsSubject] => Math [QsText] => What is 2 + 3? [RightAnswer] => 5 [QsAns1] => 1 [QsAns2] => 2 [QsAns3] => 3 [QsAns4] => 4 [QsAns5] => 5 [QsAns6] => 6 [QsDifficulty] => 1 [QsAnswerDescription] => 2 plus 2 equals 4. [QsSubjectImage] => subject_image.jpg [QsAnswerImage] => answer_image.jpg ) Deleted question. Trying to read: