jquery Programming Glossary: question_ids
It is not inserting data into database http://stackoverflow.com/questions/14554847/it-is-not-inserting-data-into-database sure both prepared statements succeeded before proceeding if insert insertimagequestion c count _POST 'numQuestion' question_ids array for i 0 i c i questionNo _POST 'numQuestion' i insert bind_param i questionNo insert execute if insert errno Handle.. execute if insert errno Handle query error here echo __LINE__.' '. insert error break 1 questionId mysqli insert_id question_ids questionNo questionId imgresults _POST 'imgid' foreach imgresults as imgid imgvalue image imgvalue imgquesid question_ids.. questionNo questionId imgresults _POST 'imgid' foreach imgresults as imgid imgvalue image imgvalue imgquesid question_ids imgid LINE 305 where error is foreach imgvalue as image insertimagequestion bind_param ii image imgquesid insertimagequestion..
|