tolto mysql_close();
stesso risultato (e cmq prima funzionava anche con)

fatto echo:
select * from events where location = ''