mysqli_real_escape_string when using $_GET and custom SQL queries

2 posts by 2 authors in: Forums > CMS Builder
Last Post: May 30, 2018   (RSS)

By leo - May 30, 2018

Hi,

In the newer version of CMS, we use mysqli() to handle the connection. So instead of using mysqli_real_escape_string($link, $_POST['some_info']), you can call mysqli()->real_escape_string($_POST['some_info']).

Let me know if you have any questions!

Thanks,

Leo - PHP Programmer (in training)
interactivetools.com