Page 1 of 1

Re: Help with LONGTEXT, PHP/MYSQL

Posted: Fri Apr 02, 2010 3:14 am
by DuckyDuck
Problem 1:
substring($string, 0, 20);
:)
Problem 2:
in the file that writes the textarea, you can change the linebreaks with <br> with the function $strung=nl2br($string);