この問題があります。
一致するテーブルからこのフィールドを取得する必要があります。
date, points
次にepos_id、マッチングテーブルにもフィールドがあります。
とフィールドを持つ別のrbpos_eposテーブルがあります。epos_idlocation
location使用中の結合からを取得する必要がありrbpos_epos ます。次のようなものです。
SELECT matching.date, matching.points, matching.time,matching.location,matching.epos_id,rbpos_epos.epos_id,rbpos_epos.location
FROM matching WHERE matching.user_id="'.$id_user.'"
LEFT JOIN rbpos_epos where matching.epos_id=rbpos_epos.epos_id;