SELECT * FROM b_bookscription where category = %7B%7Bfriend.category%7D%7D 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 '%7B%7Bfriend.category%7D%7D ORDER BY id DESC' at line 1