/ Published in: PHP
Devuelve un texto acortado según el parámetro $words introducido.
Expand |
Embed | Plain Text
public function trim_text($text, $words = 50) { if ($sz > $words) { } return $text; }
You need to login to post a comment.
javierarce on 07/18/06
7 people have marked this snippet as a favorite
luman
neverwolf
jkochis
NexusRex
blakeb
hudge
pixelhandler
Devuelve un texto acortado según el parámetro $words introducido.
public function trim_text($text, $words = 50) { if ($sz > $words) { } return $text; }
You need to login to post a comment.