surfwtw Posted July 16, 2011 Share Posted July 16, 2011 I am trying to only show words starting with a certain letter. I have been trying different things all day and can't get it to work. What should I add to the code below? Any help? $sqlCommand = "SELECT * FROM dictionary ORDER BY word ASC"; Quote Link to comment https://forums.phpfreaks.com/topic/242136-how-do-i-select-only-words-that-start-with-a-out-of-mysql/ Share on other sites More sharing options...
gristoi Posted July 16, 2011 Share Posted July 16, 2011 $SQL ="SELECT * FROM dictionary where word LIKE 'A%'" Quote Link to comment https://forums.phpfreaks.com/topic/242136-how-do-i-select-only-words-that-start-with-a-out-of-mysql/#findComment-1243536 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.