A Database Error Occurred

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 'order by 1 desc' at line 1

select * from category where cat_id= order by 1 desc

Filename: /home/880909.cloudwaysapps.com/wreekcmmpd/public_html/models/data_manipulation.php

Line Number: 233