I tried that and it still didn't work. Maybe I should of show you my sniplet first.
$sql = "
SELECT *, insp.qrtrly + INTERVAL 90 DAY as nextdue
FROM lsv, insp
WHERE TO_DAYS(NOW()) - TO_DAYS(insp.qrtrly) >= 90
AND lsv.org = \"$org\"
AND lsv.vid = insp.vid
AND lsv.status != 'DRMO'
ORDER BY nextdue
";
This will display all my vehicles that are overdue their 90-day inspection. I would like it also to display the vehicles that did not have an inspection documented in the insp table. The vid would be common in both tables if the inspection was documented.
Thanks for your help.