How do I change: function wordlimit($string, $length = 50, $ellipsis = "...") { $words = explode(' ', strip_tags($string)); if (count($words) > $length) return implode(' ', array_slice($words, 0, $length)) . $ellipsis; else
Comment on this Question and Answer >>>
ASK A QUESTION
More arrays PHP Questions
How do I remove and view the last element of an array?what is a array?
How do we sort an array of names taken from a text file, displaying only unique names?
I want to invert my array, can I do this?
How can I easily view all members of an array?
