Salve,

codice:
$query = "(SELECT id, cognome, nome FROM tab_utenti) UNION (SELECT indirizzo, cap, citta, prov, telefono1 FROM tab_utenti_dett) ORDER by $order_field";
$result = mysql_query($query, $db);
	$i=0;
	while ($sql_data = mysql_fetch_row($result)) {
	$a_array[$i] = $sql_data;
	$i++;
	}
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource

Qualcuno sa dov'è l'errore?