doforumda Posted July 1, 2010 Share Posted July 1, 2010 i want to select some alphabets from mysql db column. lets say i have a table with column name article. now i want to select about three words from this column and display it as "three words here..." how can this be achieve? Link to comment https://forums.phpfreaks.com/topic/206365-need-help-select-query/ Share on other sites More sharing options...
trq Posted July 1, 2010 Share Posted July 1, 2010 Take a look at the user examples for the substr function. Link to comment https://forums.phpfreaks.com/topic/206365-need-help-select-query/#findComment-1079561 Share on other sites More sharing options...
doforumda Posted July 2, 2010 Author Share Posted July 2, 2010 it is working but what if i want to select 3 words rather than alphabets. how can i do that? Link to comment https://forums.phpfreaks.com/topic/206365-need-help-select-query/#findComment-1080140 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.