sucopowa 7 Posted October 15, 2014 Share Posted October 15, 2014 I just wanted to know the right way to use mysql_escape() or mysql_escape_string(), i saw the message on the command line thait may be insecure, already readed in other topics and forums, and doesnt got any clear answer or view of it :x Thanks for reading! Link to comment Share on other sites More sharing options...
Rumor 2608 Posted October 15, 2014 Share Posted October 15, 2014 This function is identical to mysql_real_escape_string() except that mysql_real_escape_string()takes a connection handler and escapes the string according to the current character set.mysql_escape_string() does not take a connection argument and does not respect the current charset setting. http://us3.php.net/mysql_escape_string 1 Link to comment Share on other sites More sharing options...
sucopowa 7 Posted October 16, 2014 Author Share Posted October 16, 2014 Alright, thanks a lot for your reply Rumor, i will try just to use after "mysql_query" the mysql_real_escape_string() function! :3 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now