how can I get the row id of tbl_questions and send it to tbl_link_qa and then tbl_answers get to send it's row number to tbl_link_qa (same with tbl_questions) but this time it must correspond to the first row number from tbl_questions that was inserted first at tbl_link_qa
i need to link the row number of a question from tbl_questions and the row number of an answer from tbl_answers.
need help really bad
rec_id---qRec_id---aRec_id
96------------0-----------0
95------------0-----------0
I need to make it like this >>
rec_id---qRec_id----aRec_id
96----------123----------456
95----------124----------
123 and 124 is the row number from tbl_questions inserted into tbl_link_qa and 456 is from tbl_answers