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 'index)and(pt.name = "Страна")' at line 1
SELECT pr.* from properties as pr, proptypes as pt where (pt.id = pr.proptypes_id)and(pr.goods_id = index)and(pt.name = "Страна")
Filename: models/Db_model.php
Line Number: 138