PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
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);