Eritrea Posted August 31, 2012 Share Posted August 31, 2012 Hi everyone. I am new to PHP and this form. I am trying to create 10 questions in my website with PHP, in which a user will only answer just by using radio buttons, after submitting all, he will be able to see how many answers he/she got right/wrong. Now, what I need to know is that, how do you make PHP count all the right/wrong passwords and display message like: You've got 4/10 or 9/10.... How do you make an array ( If I am correct ) to count right/wrong of all submitted values in PHP?? I would like a simple example on this one. Thanks for the help in advance. Quote Link to comment https://forums.phpfreaks.com/topic/267870-counting-variables-and-storing-them-in-session/ Share on other sites More sharing options...
Mahngiel Posted September 2, 2012 Share Posted September 2, 2012 I would like a simple example on this one. Listen, this forum is not a place to get your scripts done for you. You'll need to provide some sort of evidence you've tried this on your own, or you'll never find this community accepting of your posts. Quote Link to comment https://forums.phpfreaks.com/topic/267870-counting-variables-and-storing-them-in-session/#findComment-1374696 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.