Substr() is not enough!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Substr() is not enough!

Post by Joe »

Recently I used substr() to shorten strings on the front page where some basic user information is shown. The only problem is when people use a very long concentrated string like '1111111111111111111111111111111111' it buggers the page up.

And suggestions. I was thinking possible wordwrap()
burzvingion
Forum Newbie
Posts: 11
Joined: Sun Apr 18, 2004 2:30 pm

Post by burzvingion »

can you show us your code?
Post Reply