I make a simple query:
SELECT cars.id, cars.firma, cars.model, cars.cost, sales.sale FROM cars LEFT JOIN sales ON cars.id = sales.id_cars;
The cars
table has an id
field and the sales
table has an id
field.
Further in the code loop, when I write $line['id']
the second table field is taken ...
$line['cars.id']
does not help ...
How to explicitly indicate which id
field I need ?????