runnerjp Posted March 6, 2010 Share Posted March 6, 2010 What am i doing wrong here??? "Select * from forumtutorial_posts where parentid='572' ORDER BY showtime 10 ASC"; //getting replies Link to comment https://forums.phpfreaks.com/topic/194347-you-have-an-error-in-your-sql-syntax-check-the-manual-that-corresponds-to-your/ Share on other sites More sharing options...
Anti-Moronic Posted March 6, 2010 Share Posted March 6, 2010 This is a stab in the dark because mysql is not my strongest point. but I think your query should be: "Select * from forumtutorial_posts where parentid='572' ORDER BY showtime ASC LIMIT 10"; //getting replies Link to comment https://forums.phpfreaks.com/topic/194347-you-have-an-error-in-your-sql-syntax-check-the-manual-that-corresponds-to-your/#findComment-1022358 Share on other sites More sharing options...
runnerjp Posted March 6, 2010 Author Share Posted March 6, 2010 no idea why i didnt add that and didnt see it :S Link to comment https://forums.phpfreaks.com/topic/194347-you-have-an-error-in-your-sql-syntax-check-the-manual-that-corresponds-to-your/#findComment-1022359 Share on other sites More sharing options...
Anti-Moronic Posted March 6, 2010 Share Posted March 6, 2010 haha happens to me ALL the time. Link to comment https://forums.phpfreaks.com/topic/194347-you-have-an-error-in-your-sql-syntax-check-the-manual-that-corresponds-to-your/#findComment-1022361 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.