Find Jobs
Hire Freelancers

Database driven quiz - php / mysql

$30-5000 USD

In Progress
Posted over 12 years ago

$30-5000 USD

Paid on delivery
I have a simple php template that I've used to make quizzes like this one: <[login to view URL]> [login to view URL] in attachment. It works well. However, all the data has to be typed into that particular file. I now am trying to change it so that students can search for a quiz (by quiz ID), and the amount of questions they want, and those questions will be selected randomly from a table in a database. I've started work on this here: <[login to view URL]> There's only one quiz id in the database so far - 1. Search using this and you'll be taken to <[login to view URL]> This is the file that I need the work done to for this project: Essentially I want it to operate in the same way as the 10 x tables quiz in terms of feedback given in terms of score, ticks and crosses displayed, etc. ## Deliverables I now want the [login to view URL] file to work in a similar fashion to the [login to view URL] file in terms of response to student answers. Ie: There should be functionality given to the text box for student response in the "Question" column of the table, to the right of the actual question ($question) . Then, in the 'Answer' column, the student's answer for each question should be echoed once the 'Submit' button is pressed. If the answer the student submits = the answer for the corresponding question in the quizzes table in the database (ie: if student answer = $answer), then the tick should appear in the feedback column. (ie: echo '<img src="images/feedback/[login to view URL]" alt="Ccorrect" />'; ) If student answer != $answer, then the cross should appear. Ie: echo '<img src="images/feedback/[login to view URL]" alt="Incorrect" />'; The scores should be tallied in the same way as they are in the [login to view URL] file, and the feedback given in exactly the same manner. (NOTE: $num_rows gives the amount of questions. A percentage has to be worked out on the basis of answers correct / $num_rows * 100.) Ie: The student should be given feedback based on the name they enter. Also, if they score 100%, they should recieve the same message that appears in the [login to view URL] file. Ie: echo "<strong>That's a perfect score $name. You might like to try another test now that you've conquered this one. Keep coming back to revise though. You don't want to forget all the things you've learnt!</strong>";
Project ID: 2707377

About the project

12 proposals
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$30.60 USD in 14 days
5.0 (13 reviews)
3.4
3.4
12 freelancers are bidding on average $125 USD for this job
User Avatar
See private message.
$45 USD in 14 days
4.9 (229 reviews)
6.3
6.3
User Avatar
See private message.
$35.70 USD in 14 days
4.9 (208 reviews)
6.1
6.1
User Avatar
See private message.
$60.35 USD in 14 days
4.7 (47 reviews)
5.8
5.8
User Avatar
See private message.
$144 USD in 14 days
4.9 (50 reviews)
5.6
5.6
User Avatar
See private message.
$800.70 USD in 14 days
5.0 (50 reviews)
5.6
5.6
User Avatar
See private message.
$75.65 USD in 14 days
5.0 (83 reviews)
5.1
5.1
User Avatar
See private message.
$50.15 USD in 14 days
4.9 (57 reviews)
4.9
4.9
User Avatar
See private message.
$100 USD in 14 days
4.9 (20 reviews)
4.6
4.6
User Avatar
See private message.
$34 USD in 14 days
5.0 (3 reviews)
1.4
1.4
User Avatar
See private message.
$100.30 USD in 14 days
5.0 (1 review)
1.3
1.3
User Avatar
See private message.
$20.40 USD in 14 days
5.0 (1 review)
0.0
0.0

About the client

Flag of AUSTRALIA
Australia
5.0
93
Payment method verified
Member since Dec 22, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.