$query= mysql_query("SELECT * FROM tabella1 INNER JOIN tabella2 ON tabella1.codice_fiscale=tabella2.codice_fiscale WHERE tabella1.codice_fiscale=tabella2.codice_fiscale");
$row= mysql_fetch_array($query);
extract($row);
echo $codice_fiscale;
QUESTO E' UN ESEMPIO ALLA VELOCE