|
|
@ -3826,11 +3826,9 @@ class Exercise |
|
|
|
$queryfill = "SELECT answer FROM ".$TBL_TRACK_ATTEMPT." |
|
|
|
$queryfill = "SELECT answer FROM ".$TBL_TRACK_ATTEMPT." |
|
|
|
WHERE |
|
|
|
WHERE |
|
|
|
exe_id = '".$exeId."' AND |
|
|
|
exe_id = '".$exeId."' AND |
|
|
|
question_id= ".intval($questionId); |
|
|
|
question_id= ".intval($questionId).""; |
|
|
|
$resfill = Database::query($queryfill); |
|
|
|
$resfill = Database::query($queryfill); |
|
|
|
$rowFill = Database::fetch_assoc($resfill); |
|
|
|
$answer = Database::result($resfill, 0, 'answer'); |
|
|
|
$answer = $rowFill['answer']; |
|
|
|
|
|
|
|
$questionScore = $rowFill['marks']; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
for ($i = 0; $i < count($realCorrectTags); $i++) { |
|
|
|
for ($i = 0; $i < count($realCorrectTags); $i++) { |
|
|
|