SQL Error:
select * from picture where a_id= order by p_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 'order by p_id desc' at line 1