Hey,

I have developed a simple from system that allows users to input some comments. This all works fine, however when I try to retrieve the comments I only want to display 100 characters.

I am new to PHP, but was wondering if there is a string function that will let me take the data from a table in my database and then only display 100 characters followed by "..." afterwards.

Also I have thought of a potential problem... if someone enters less than 100 characters I only want to show the amount they have entered.

can anyone help?