Website Construction

NulledBB, how'd you do this

Submitted by Noah, , Thread ID: 12607

Thread Closed

RE: NulledBB, how'd you do this

Noah
Member
Level:
0
Reputation:
25
Posts:
121
Likes:
10
Credits:
7
OP
10-11-2015, 10:37 AM
#6
09-11-2015, 10:23 PM
Believer Wrote:
PHP

$string = substr($string,0,20).'...';

n of course

word-break: break-word;


after 20 letters itll put .... infront

Thank you, I already knew about word-break but that was not it so eventually I asked a friend for help and he sent me a very similar code to yours and now it works, thank you for elaborating!

Users browsing this thread: 1 Guest(s)