How to Limit Length of Text in PHP

Looking for a way to limit the length of a text string in PHP? Well here is a simple way to do it. In this example we will be using the PHP substr function. Let’s say you have a title like this:“This is a long title for a story this is a title wow.”And you …

Read more