pixeltrace Posted July 28, 2007 Share Posted July 28, 2007 hi, i have a pagination that has the alphabet buttons also. how to i set the query so that when i click the letter it will return the list wherein all names starts with that letter let say, i click letter "A" in the return list, all names starting at A will be listed. hope you could help me with this. thanks! Quote Link to comment Share on other sites More sharing options...
jitesh Posted July 28, 2007 Share Posted July 28, 2007 SELECT * FROM `table` WHERE `Keyword` Like 'A%' Quote Link to comment Share on other sites More sharing options...
tibberous Posted July 28, 2007 Share Posted July 28, 2007 select * from tablename where word like 'A%' Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted July 28, 2007 Share Posted July 28, 2007 select * from tablename where word like 'A%' That's exactly what jitesh just said... Quote Link to comment 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.