Error in the statementselect id,name,mrp,discount,summary,description,deleted,active from product where id=.product-slider i.e. 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 '-slider' at line 1