<?php
$sql = "SELECT data_user.*,data_car.*,data_prb.*,data_ins.* FROM data_user
left JOIN data_car on data_user.id=data_car.id
left JOIN data_prb on data_user.id=data_prb.id
left join data_ins on data_user.id=data_ins.id
##WHERE (DATEDIFF(data_prb.prb_e,CURDATE())between 1 AND 30) AND
WHERE data_user.member_id = '$_SESSION[login_true]'
ORDER BY data_prb.prb_e ASC
LIMIT 30";
$query = $conn->query($sql) or die( $conn->error. "<br>$sql");
?>