我收到此错误可以帮助我吗?
“on 子句”中的未知列“id.state”
这是我的代码:
$sql = mysql_query("SELECT `fam_crimes`.`id`, `starter_id`, `num_dlns`, `deelnemers`, `state`, `state_id`, `misdaad` FROM `fam_crimes`
LEFT JOIN `gameStates` ON (`id`.`state`=`state`.`fam_crimes`)
WHERE `family_id`=".$famID." ORDER BY `id` ASC ")or die(mysql_error());