vividona Posted November 13, 2008 Share Posted November 13, 2008 Dear friends, I made limit form my news, I used substr() function it is working very good but how can I control the limit from my cpanel I mean how can I identify the number of character from my cpanel 600 or 400 or . . . etc Quote Link to comment https://forums.phpfreaks.com/topic/132529-regarding-news-limit/ Share on other sites More sharing options...
JonnoTheDev Posted November 13, 2008 Share Posted November 13, 2008 The number you use in the substr function needs to be dynamic. You could create a module in your CMS system to write to a file or save to a db table. This value would need to be read in and used in the string function. Quote Link to comment https://forums.phpfreaks.com/topic/132529-regarding-news-limit/#findComment-689214 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.