SELECT tbl_foto.* FROM tbl_foto WHERE (tbl_foto.title LIKE '%Karditsa%' or tbl_foto.caption LIKE '%Karditsa%' or tbl_foto.keywords LIKE '%Karditsa%') order BY id desc

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 '-35,35' at line 1