accidenti è molto strano:
proviamo così:
dimmi cosa ti visualizza
Codice PHP:
$result=mysql_query("select *
from (manifestazioni as m
left join comuni as c
on m.idcomune=c.idcomune )
left join genere as g on m.idGenere=g.idGenere
where m.stato='approvato' and m.datainizio>'07-01-01'
and m.datafine>'"
.date("y-m-d")."'
and g.idCat=94 or g.idCat=116
order by datafine desc
limit 0,50"
);
if(
mysql_num_rows($result)==0)
{
print 
"Non sono presenti Eventi per i prossimi giorni.";
exit;
}
print 
"<table WIDTH='100%' border='0' cellpadding='0' cellspacing='0'>"