Wt"); mysql_select_db("iom_data"); unset($zichtbaar); $sql=mysql_query("select * from panden where zichtbaar=1 group by id"); $result=mysql_num_rows($sql); if($result) { $zichtbaar=1; } else { $zichtbaar=0; } mysql_close($hdl); ?>
Wt"); mysql_select_db("iom_data"); $sql=mysql_query("select * from panden where zichtbaar=1 group by id"); $result=mysql_num_rows($sql); if($result) { for($x=0; $x<$result; $x++) { $tmp=mysql_fetch_assoc($sql); $zichtbaar[$tmp["id"]]="1"; } } mysql_close($hdl); ?>