Data from two tables in the same query

I have to display the corresponding records from two tables, sorted by date.
I can show them in the way I show in my code, but of course, first show the data from one table and then the other.
I think that the necessary thing is to participate in both consultations, but I can not do it.
I will appreciate all the suggestions.
Greetings!

$ queryFC = "SELECT COM.id_fandor, COM.id_client, COM.RegistrarTalonario, COM.TipoDeCombant, COM.InvoiceLetra, COM.InvoiceNumber, COM.FechaDeFactura, COM.total, COM.total, COM.total, COM.Eststado.
COM
WHERE COM.customer_id = $ client & # 39;
ORDER BY COM.FachaDeFactura DESC ";


$ query = "SELECT VAL.id_valid, VAL.id_recibo, VAL.id_facturadeventa, VAL.id_notadecredito, VAL.tipovalor, VAL.numerovalor, VAL.banco, VAL.provinciaIIBB, VAL.buteabancaria, VAL.fr .bancoprovince, VAL.bancoprovinciaValue , VAL.vencimiento, VAL.independence, VAL.ActivoActive, REC.id_client, REC.fechaCobro, REC.fechaImputacion, REC.rececibo_numero, CLI.razonsocial
COLLECTIONS OF VALUE RECEIVED VAL
JOIN LEFT collections_recibos REC ON VAL.id_recibo = REC.id_recibo
LEFT JOIN clients CLI ON CLI.id_client = REC.id_client
WHERE REC.client_id = $ client & # 39;
ORDER BY REC.fechaCobro DESC ";



if (! ($ resultadoFC = $ mysqli-> query ($ queryFC)))) {
echo "Error while executing statement $ queryFC: ". $ mysqli-> error."  not ";
go out;
}

if (! ($ result = $ mysqli-> query ($ query))) {
echo "Error while executing statement $ request: ". $ mysqli-> error."  not ";
go out;
}

while ($ EstCta = $ resultadoFC-> fetch_array ()) {
echo

& # 39 ;. $ EstCta['FechaDeFactura'] & # 39;
& # 39 ;. $ EstCta['id_facturadeventa']& # 39;
& # 39 ;. $ EstCta['total']& # 39;
& nbsp;








& # 39 ;;
}

while ($ EstCta = $ result-> fetch_array ()) {
echo

& # 39 ;. $ EstCta['fechaCobro']& # 39;
& # 39 ;. $ EstCta['id_recibo']& # 39;
& nbsp;
& # 39 ;. $ EstCta['importe']& # 39;








& # 39 ;;
}


$ mysqli-> close ();