Code:
$result = dbquery("UPDATE faq SET faqnum='$faqnum', faqques='$faqques', faqans='$faqans' WHERE faqid='$id'");
$num_rows=mysql_affected_rows();
echo $num_rows;
I am trying to use the mysql_affected_rows to determine how many records were updated.
I am getting updates to the DB but the echo $num_rows is '0'. It should be at least 1.