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"; 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%'" 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
Archived
This topic is now archived and is closed to further replies.