Jump to content

Online quiz help


ahmedkl

Recommended Posts

Hello everyone i am new here . I want to make an online quiz website . The functionality will be like:

Admin can add number of questions

The question

User log's in (can do this part)

 

The problem is i don't know how many questions there will be so how do i get the name of the radiobuttons from the generated quiz page?

Link to comment
Share on other sites

Well you have to know the number of questions, so you just simply do a for loop of the number of questions, or if the data is being stored in a database, while loop from the DB of the number of questions.

Link to comment
Share on other sites

thanks a bunch ignace i am almost done with the site , another thing i wanted to ask that how can i apply the cascade update/delete option in mysql to a relation?other then writing query i want to know if there's some visual way to do it

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.