$correcrt_answer = array(1=>A; 2=>B); the correct answer from database $user_answer = array(1=>B; 2=>B); the answer from user
How can I count the the corr