jquery Programming Glossary: qandaqrystmt
How to associate each option button with their own individual marks? http://stackoverflow.com/questions/11199379/how-to-associate-each-option-button-with-their-own-individual-marks AnswerId PK auto AnswerMarks 1 2 2 2 3 1 4 2 The actual code is below qandaqry query is here and executed qandaqrystmt bind_result qandaQuestionId qandaQuestionNo qandaQuestionContent qandaOptionType qandaAnswer qandaAnswerMarks arrQuestionId.. array arrQuestionNo array arrQuestionContent array arrOptionType array arrAnswer array arrAnswerMarks array while qandaqrystmt fetch arrQuestionId qandaQuestionId qandaQuestionId QuestionId arrQuestionNo qandaQuestionId qandaQuestionNo QuestionNo.. label div div Now let's say your query's result fetch above was rewritten more smartly like so _Questions array while qandaqrystmt fetch _Questions array 'id' qandaQuestionId 'num' qandaQuestionNo 'content' qandaQuestionContent 'type' qandaOptionType..
How to associate marks for each answer button http://stackoverflow.com/questions/14866099/how-to-associate-marks-for-each-answer-button JOIN Individual_Answer ia ON an.AnswerId ia.AnswerId LEFT JOIN Option_Table o ON q.OptionId o.OptionId global mysqli qandaqrystmt mysqli prepare qandaquery get result and assign variables prefix with db qandaqrystmt execute qandaqrystmt bind_result qandaQuestionId.. o.OptionId global mysqli qandaqrystmt mysqli prepare qandaquery get result and assign variables prefix with db qandaqrystmt execute qandaqrystmt bind_result qandaQuestionId qandaQuestionNo qandaOptionType qandaAnswer arrQuestionId array arrQuestionNo.. mysqli qandaqrystmt mysqli prepare qandaquery get result and assign variables prefix with db qandaqrystmt execute qandaqrystmt bind_result qandaQuestionId qandaQuestionNo qandaOptionType qandaAnswer arrQuestionId array arrQuestionNo array arrOptionType..
|