this is the error i get... ou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LIMIT 1' at line 1
my code looks like this:
$sql = "SELECT * FROM posts WHERE id=$pid LIMIT 1";
I mean where can i find the manual? and what do i wrong?