I'm using substr to display a shortened/preview text:
$description=substr($description,0,190);
Somtimes the text is cut in the middle of a word and it looks really untidy. How could I make it cut at the nearest space (word).
See this thread.
Thanks installer,
For the record i did search... not well enough it seems.
I believe you. 😉
I care :p