Cannot Run the Query:

select * from tbl_categories where categories_section_id= and categories_parent_id=0 order by categories_name
as following error is encountered...

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 'and categories_parent_id=0 order by categories_name' at line 1