PHP: strlen help. I need to display only 100 characters of a string then a hyperlink
OK so I have an Item description being echoed out from a database,

What I want to do is say:

if the description is over 100 characters display the 100 then display a hyper-link to read more about it.

else display the description.

I have already used strlen to get the length of the string but how do I tell it to only display that 100 then the hyperlink? HELP :( :(
PHP: strlen help. I need to display only 100 characters of a string then a hyperlink
===

OK so I have an Item description being echoed out from a database,

What I want to do is say:

if the description is over 100 characters display the 100 then display a hyper-link to read more about it.

else display the description.

I have already used strlen to get the length of the string but how do I tell it to only display that 100 then the hyperlink? HELP :( :(