Hi,
I’m PHP newbie and can’t find a solution for this:
My website prints correctly a product description, which is sometimes very long. Therefore I would like to limit the text to e.g. 100 words and then display “read more…” which would initiate a javascript to display the rest of the text.
I’m reading about character_limiter or word_limiter but Latin for me…
Here’s what I currently have and what works fine:
[php]<?php echo nl2br($property->description(null, null, true)); ?>[/php]
Please advise how to proceed. Many thanks.
Frank