Remote server says There is an error in your SQL syntax but it works fine in Local server
I am having a SQL syntax error in the remote server but it is running fine on the local server. I can't figure it out what is the real cause behind it. Note that this page has dynamic dependent drop down. I noticed that which page does not have this dynamic dependent drop down those page are working fine.
----- page info --
In the private message I am attaching the ftp access info.
Note that the page name is: http://new.hadithbd.com/hadith/detail/index.php
and if you want to check if the query output is coming or not you can try like
Sorry! I figured out the problem and fixed.