Click here to Skip to main content
15,891,253 members

Comments by Nice Kloe (Top 22 by date)

Nice Kloe 18-May-20 3:29am View    
Thanks for your reply. I replaced the php variable in the name attribute of the radio buttons by a string value (answerProposition), for all the radio buttons. The result isn't better. On three questions for the exams, while choosing the right answer each time, at the end I get right answer: 1, wrong answer : 0, unanswered : 0. If I choose no response for each question, at the end I get right answer : 0, wrong answer : 0, unanswered : 1. What I'm I not getting, please?
Nice Kloe 16-May-20 13:17pm View    
Ohhhh, ok, I understand. So please, any idea/suggestion/working code snippet on how I can get the different chosen candidate's answers to compare them with the correct answers from my DB?
Nice Kloe 16-May-20 12:16pm View    
I didn't do it because it should come from the quiz-page, where I take the exam and send candidate's chosen answers to the processing page. The attribute name for the radio buttons are name='$value['Questionid'];' and on my server page, I try getting the name attribute using $_POST[$value['Questionid']]. Is this wrong, please?
Nice Kloe 6-May-20 12:26pm View    
Thanks immensely. Everything works perfectly now!
Nice Kloe 5-May-20 10:33am View    
Thanks greatly. It works. I can zoom out an image once it's clicked. And the example of the W3School link you posted is exactly the same I used in drafting my code, just that I didn't do things well. Thanks again.
Please, I'll have one tiny issue again, when I click on an image, it doesn't react at first. I have to click on it a second time to have it zoomed out. Any idea of the reason for this behaviour?