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