Re: Help with LONGTEXT, PHP/MYSQL
Posted: Fri Apr 02, 2010 3:14 am
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);
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);