Hai provato ad eseguire la semplice Query dalla shell di MySQL (oppure da PhpMyAdmin)?
Codice PHP:
$sql = "SELECT * FROM tab1,tab2,utenti WHERE ((tab1.campo=tab2.campo) and (tab1.id_utente=utenti.id) and (tab2.id_utente=utenti.id))";
$query = mysql_query($sql) OR DIE ("Errore Numero: ".mysql_errno()." - Descrizione: ".mysql_error());
![]()