Results 1 to 13 of 13
Thread: Problem with line breaks
Nov 24, 2004, 09:42 #1
- Join Date
- Apr 2002
- 0 Post(s)
- 0 Thread(s)
Problem with line breaks
I have searched the web for an answer, but couldn't find one. So I'm hoping you guys could help.
I have a textarea field in a form that gets inserted into a MySQL database. The field is coded as a blob.
Before the data gets inserted (or updated), I stripslash the data then use the mysql_real_escape_string function.
When I go into the data and manually remove the line break, the tooltip works fine. However, this is not the solution I want.
I was under the impression that the mysql_real_escape_string would properly escape the line breaks, but I guess not.
Please let me know if I need to provide more information.
Thank you in advance,
MarkMark J Beck