Hi I need to enable my members to put data in about themselves.
One problem I encountered was that the way the string displays.
What happens is, on the text field, i can type in stuff and change lines.
And when I go into the MySQL PHP MYADMIN, the field(which is defined as a text type field by the way) displays teh value as I typed it in.
But when i display it through php codes(simply using a printf function), it displays every thing into one line.
I tried using $postmesage = htmlspecialchars($HTTP_POST_VAR["$message"]) kinda thing, but it doesn't work.. thats the only idea I could get, but all it did for me is prevent users from using HTML tags in their introductions and what not, but it did not enable the value to display with the lines changed.
Is there a way I can allow the text to display with the line breaks? And, if I can still keep the HTML codes off, that would be good too.