Skip to content
Advertisement

mysqli_real_escape_string() expects parameter 1 to be mysqli, null given in

…/general.php on line 10

Hello, this is my error, but only occurs when I upload my web to a host, in the localhost run well.

the (return mysqli_real_esc..)line is the “line 10”.

JavaScript

thanks for your time!!

Advertisement

Answer

i think you have typo in your variable, please check your $connect => $conncet variable

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement