I want to create a condition in PHP to check whether the length of the string has reached the specified value and if the condition is true then show rest of the characters on the next line. The string is passed from a form using POST method.
Share
Are you looking for the wordwrap() function?