Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Avoid sql injection but still have break lines

$
0
0

Hello,

i use mysql_real_escape_string() to avoid sql injections but it escapes and line breaks \n.

What should i do to keep the line breaks from the form and be protected by injections.

Thank you


Viewing all articles
Browse latest Browse all 13200

Trending Articles