I have been searching about this error for a couple of weeks. And I couldn't find the right answer. So I am done about that. Here is my ASP.net c# code
MySqlDataAdapter cmd = new MySqlDataAdapter("select * from haberler order by id desc limit 10 where kategori='anaokulu'", con);
and the error is :
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where kategori='anaokulu'' at line 1
any help will be so helpful, just make me try something to solve this problem..