How does one address someone entering a crazy long string from breaking the page

Hello,

In a Php generated page, how do you suggest that one should address the problem of users entering long strings, in a rather crazy fashion, from breaking the proper look (width) of the page?

For example take a look at this page:
http://www.dreamdates.com/new2/profile.php?mem=30

As you see in this example the user has entered very long (crazy) strings such as:
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
which have caused the page to go beyond its intended width and look bad.

ThanX,

P.S., This site is currently under development and still not live for public use.

Sorry, that error has been fixed.
It was due to having added code without taking into account that non-members can also access this page.
So you are good to chck out this page now :slight_smile:
ThanX.

All I see in the example is this:

Notice: Undefined index: dd_user in /var/www/html/dreamdates.com/new2/profile.php on line 45
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘’ at line 1

PHP: wordwrap - Manual