grazie per il tuo aiuto!! ho risolto impostando la query in questo modo:
ciaoCodice PHP:
//select
$sql="SELECT T1_id, username, name".
"FROM tabella1, tabella2".
"WHERE T1_id = T2_id";
//per avere il debug ho aggiunto:
$return = mysql_query($sql) or die (mysql_error());
![]()