What is the use of mysqli_real_escape_string() function?

Posted by Pinki | Updated on

mysqli_real_escape_string() function is used to escape special characters from the string for using a SQL statement

Sample code:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers