AT-2013 Posted April 5, 2013 Share Posted April 5, 2013 Hi Frndz!! I have created a simple quiz system but the problem is the questions aren't in random order. If possible need help about how to make the questions appear randomly each time & once. I have tried to do so but failed. I am sending the codes & tables below: (create a database named 'online') Thnx in advance. exam_login1.php examserver_modelTest.php members1.php ms.php grammar.zip online2.zip scores.zip Quote Link to comment https://forums.phpfreaks.com/topic/276565-little-help-d-d/ Share on other sites More sharing options...
DaveyK Posted April 5, 2013 Share Posted April 5, 2013 Its not likely that anyone is going to download or even read your files. You should extract the relevant code, put it in code blocks and point in the right direction as to what you need and what you've tried so far. Quote Link to comment https://forums.phpfreaks.com/topic/276565-little-help-d-d/#findComment-1423046 Share on other sites More sharing options...
Alkimuz Posted April 5, 2013 Share Posted April 5, 2013 Like Davey says, i am not going to search your whole code.. but if the questions are in an array, you could use the function shuffle() http://php.net/manual/en/function.shuffle.php Quote Link to comment https://forums.phpfreaks.com/topic/276565-little-help-d-d/#findComment-1423057 Share on other sites More sharing options...
AT-2013 Posted April 5, 2013 Author Share Posted April 5, 2013 Thnx guyz for reply. But it would be very helpful if you guyz have a little time for my problem to solve & check my coding. Quote Link to comment https://forums.phpfreaks.com/topic/276565-little-help-d-d/#findComment-1423091 Share on other sites More sharing options...
Jessica Posted April 5, 2013 Share Posted April 5, 2013 Noz. Figure out whichez partz you have a problemz with. Quote Link to comment https://forums.phpfreaks.com/topic/276565-little-help-d-d/#findComment-1423095 Share on other sites More sharing options...
DaveyK Posted April 8, 2013 Share Posted April 8, 2013 Thnx guyz for reply. But it would be very helpful if you guyz have a little time for my problem to solve & check my coding. As you said, its YOUR problem. Quote Link to comment https://forums.phpfreaks.com/topic/276565-little-help-d-d/#findComment-1423502 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.