beansandsausages Posted January 16, 2008 Share Posted January 16, 2008 Hey all, have a quick question is it possabel to select from a db by the first letter ? l example : adam john paul ant if i wanted all names that start with a etc .... Quote Link to comment https://forums.phpfreaks.com/topic/86274-solved-just-a-quick-on/ Share on other sites More sharing options...
rajivgonsalves Posted January 16, 2008 Share Posted January 16, 2008 your statement should be select * from tablename where name like 'a%'; Quote Link to comment https://forums.phpfreaks.com/topic/86274-solved-just-a-quick-on/#findComment-440700 Share on other sites More sharing options...
beansandsausages Posted January 16, 2008 Author Share Posted January 16, 2008 thought so. Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/86274-solved-just-a-quick-on/#findComment-440702 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.