Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
select r.id, r.tName from locations l left join regions r on r.id = l.iRegionID where l.id =
Filename: /home/304182.cloudwaysapps.com/zbjpdsauvj/public_html/models/mainmodel.php
Line Number: 2449