Trying to save users entered data in form into a var, so I can pass it to the data base.
Using: $login = mysqli_real_escape_string($_POST[“login_input”]);
Doing it the same way as my video tutorial, but when I submit I get:
Fatal error:Uncaught ArgumentCountError: mysqli_real_escape_string() expects exactly 2 arguments, 1 given
Also: I can’ find any PHP subforum here on FreeCodeCamp. Is it me or should PHP questions be posted here in General ?