Compare columns

From: Date: Thu, 19 Oct 2006 13:32:41 +0000
Subject: Compare columns
Groups: php.db 
Request: Send a blank email to php-db+get-42579@lists.php.net to get a copy of this message
Hi guys, I really need some help. I have two tables tbl_question with 2 columns question_id , question_name and tbl_answers with 3 columns answer_id,answer_name and questionFK. I want to get values from question_id and compare them with questionFK if some values are missing in questionFK then I need a insert of missing values. values from questionFK have to be always same as question_id Thanx in advance

« previous php.db (#42579) next »