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 can I display a 2 dimensonal array?How do I sort an array by key?
How can I sort an array keeping the correlation between the index and value?
Hi. i have a music samples website. in one table, id like a different sample to appear every time the page is refreshed. how do i acheve this? how can i alterate and retrieve these bloody mp3's? surely i can use a PHP script? thankyou
How can I mix up the order of values in an array?
