Complicated, fetch data php database.

1/29/2016 1:50 amKumel

Complicated, fetch data php database.

I have a list of question where a auditor reviews a job.These questions are just ticked & the answer are stored in db in following table: 'AuditJobDetails'AuditJobDetails contains: ID, JobID, QuestionID, UserIDJobID is the job id which he is reviewing, question id is question which is reviewed. userid is auditor's user id.

There are like 15 questions. These data are stored very well. Screenshot of db is attached.

Now i want to show all questions from a simple db where all question are entered.

Now when viewing result i want to show all question & also show which were ticked by auditor. File attached.

Audit details wil be viewed using JobID, thats what i thought. But not sure how its done..

Help me please.

0

Attached Files

Archive.zip

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.