hi everybody,
i am doing the project on online exam.
in admin side, i created tests. each test has 5 questions.
i have created questions and choices. inserted into database.i finished the admin part. problem is userside.
in user side, one question should display per page and
press next button to go next page. at the end all
questions result should display.
please help me how can i do in user side.
and also gvie the sample website.
thanks,
qumar.
display one question per page
Moderator: General Moderators
You can use limit in MySQL query e.g.
on next page
and then
Code: Select all
SELECT * FROM questions LIMIT 0,1Code: Select all
SELECT * FROM questions LIMIT 1,1Code: Select all
SELECT * FROM questions LIMIT 2,1- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA