11-29-2004, 11:40 PM
JackoliciousLegs Wrote:didn't know about htmlspecialchars() ... implementing
edit: that doesn't handle line breaks
Thats correct, it doesn't. What it does do is turn all of the potential nasties into HTML-safe strings like & and " and < and >, etc...
As for the line breaks, are you trying to preserve line breaks from people's entries into the database, or just control the wrapping at a specific character width?

