i want to make a online examination project so plz help me
i want to fetch the questions randomly from database and with 4 options and when i answer this question it should match with correct answers so that i can display th result of the test plz give the code for doing this.

4 Years
Discussion Span
Last Post by diafol

I would like to make a business earning a million dollars a month, please give the code for doing this!


Dont you currently have any code, that is not working or need to be tweaked?


As klemme has elegantly put, you need to do your own work and only use the forums for support on bits you are stuck on (as suggested by the rules).

A quick hint though as to where you should start. Look into how to:

  • Implement a pseudo random number generator
  • Query a database (to get a question and answer)
  • Compare two values and display content based upon the outcome

sir i know it it should be done in this way i have tis logic but i need code becoz m new in php development


Then I suggest you buy a good book, or there are plenty of tutorials online for learning PHP.

The Daniweb forums are not designed for us to create your code for you, and even if someone did write the entire project then you wouldn't learn anything from it.

If you know the logic behind what you need to do, then why can't you do your own research using the official documentation and the many different internet search engines out there, to do it?

(And assuming it was you, no need to down vote both answers which are simply trying to help you)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.