izbryte Posted October 22, 2007 Share Posted October 22, 2007 I'm pulling up an article from a database but I only want to show the first 300 characters of it. How can I get rid of the rest? Link to comment https://forums.phpfreaks.com/topic/74372-solved-view-only-a-certain-number-of-characters/ Share on other sites More sharing options...
Azu Posted October 22, 2007 Share Posted October 22, 2007 select substring(article,1,30) from database Link to comment https://forums.phpfreaks.com/topic/74372-solved-view-only-a-certain-number-of-characters/#findComment-375790 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.