Hello , 
I could find out how to solve this problem and I leave the right query
here for you .

$sql6 = "DELETE forum_question,forum_answer FROM forum_question LEFT
JOIN forum_answer ON forum_answer.question_id=forum_question.id WHERE
forum_question.id='$delete_id'";

Best wishes , 
Bye

Reply via email to