dAivEd Posted June 30, 2008 Report Share Posted June 30, 2008 Ka var uztaisīt tā lai pariet uz jauno rindiņu ja teksts komentāra parsniedz 30 simbolus ? Link to comment Share on other sites More sharing options...
Val Posted June 30, 2008 Report Share Posted June 30, 2008 http://lv.php.net/wordwrap Link to comment Share on other sites More sharing options...
dAivEd Posted July 1, 2008 Author Report Share Posted July 1, 2008 bet man vajag ja ir 1 vards piemeram kads uzraksta ':DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD' Link to comment Share on other sites More sharing options...
zinatnieks Posted July 1, 2008 Report Share Posted July 1, 2008 <?php $text = ":DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD"; $replase = wordwrap($text, 12, "\n", true); echo "$replase\n"; ?> Link to comment Share on other sites More sharing options...
Recommended Posts