| | |
PHP Logic for Online Test
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Mar 2007
Posts: 2
Reputation:
Solved Threads: 0
Hello experts,
I'm new to PHP/Javascript. I am working on an Online examination system for prospective candidates. This is so as to learn object-oriented programming for my improvement.
Story So far: I have the mechanism in PHP/Javascript/Mysql to create an online test. This lets the user select the kind of test and the number of questions da da da... User logins with a login/password and is ready to take the test.
Now: I'm not trying to be really imaginative and make this test highly user-friendly. The questions (with ID) for each test are stored in a view created at run-time. These questions will be displayed from, say 1 to 20, through Back and Next buttons and will be multiple choice (one answer only).
What I have come up with: I could make the program go to the database everytime the user clicks on the Next button and randomly select a question from the view that has not already been answered. But that would not let me get back the same question when the user clicks on the Back button.
Help: I know that implementing what I want would be more complex (and involves more logic) than I can think of right now. Could someone give me a direction to go for me so I can figure this out?
I'm new to PHP/Javascript. I am working on an Online examination system for prospective candidates. This is so as to learn object-oriented programming for my improvement.
Story So far: I have the mechanism in PHP/Javascript/Mysql to create an online test. This lets the user select the kind of test and the number of questions da da da... User logins with a login/password and is ready to take the test.
Now: I'm not trying to be really imaginative and make this test highly user-friendly. The questions (with ID) for each test are stored in a view created at run-time. These questions will be displayed from, say 1 to 20, through Back and Next buttons and will be multiple choice (one answer only).
What I have come up with: I could make the program go to the database everytime the user clicks on the Next button and randomly select a question from the view that has not already been answered. But that would not let me get back the same question when the user clicks on the Back button.
Help: I know that implementing what I want would be more complex (and involves more logic) than I can think of right now. Could someone give me a direction to go for me so I can figure this out?
![]() |
Similar Threads
- Online voting (PHP)
- Looking For PHP/Mysql programmer for online game (Web Development Job Offers)
- php mail form - need to redirect to new page (PHP)
- PHP coder needed for online game (Web Development Job Offers)
Other Threads in the PHP Forum
- Previous Thread: php + mysql
- Next Thread: PHP templates
| Thread Tools | Search this Thread |
5.2.10 action apache api array beginner beneath binary broken cakephp checkbox class classes cms code cron curl database date destroy display dynamic echo echo$_get[x]changingitintovariable... email encode error fcc file files folder form forms function functions google header howtowriteathesis href htaccess html image images include insert ip javascript joomla limit link local login mail memberships menu mlm mod_rewrite multiple multipletables mysql mysqlquery neutrality oop open passwords paypal pdf php provider query radio random record remote rss script search server sessions sockets source space sql strip_tags syntax system table template thesishelp tutorial update upload url validator variable video voteup web window.onbeforeunload=closeme; youtube





