.../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".
$conncet = mysqli_connect('xxx','xxx','xxx','xxx');
function array_sanitize(&$datos) {
global $connect;
$datos = mysqli_real_escape_string($connect,$datos);
}
thanks for your time!!
</div>
i think you have typo in your variable, please check your $connect => $conncet variable
$conncet = mysqli_connect('xxx','xxx','xxx','xxx');
function array_sanitize(&$datos) {
global $connect;
$datos = mysqli_real_escape_string($connect,$datos);
}
</div>
You misspelt connect in your initialization. You spelt it conncet. The only reason I can think for that running well on localhost is if errors are set not to show.
first off there is a spelling error on your first line "$conncet" should be $connect