โดย mindphp » 04/06/2007 6:30 pm
ใช้ function wordwrap()
Description
string wordwrap ( string str [, int width [, string break [, bool cut]]] )
wordwrap() example
<?php
$text = "The quick brown fox jumped over the lazy dog.";
$newtext = wordwrap($text, 20, "<br />\n");
echo $newtext;
?>
ใช้ function wordwrap()
Description
string wordwrap ( string str [, int width [, string break [, bool cut]]] )
wordwrap() example
<?php
$text = "The quick brown fox jumped over the lazy dog.";
$newtext = wordwrap($text, 20, "<br />\n");
echo $newtext;
?>