Fatal error: Call to undefined function mysql_real_escape_string() in /var/www/engine/database.php on line 38
I can still connect to the database however. Why is it not available?
I am using PHP version 7.1.4
Fatal error: Call to undefined function mysql_real_escape_string() in /var/www/engine/database.php on line 38
I can still connect to the database however. Why is it not available?
I am using PHP version 7.1.4
mysql_
has been removed in php 7. try mysqli_real_escape_string
instead of mysql_real_escape_string
.
The mysql extension has been deprecated from PHP 5.5. Use mysqli extension should be used.
You can try mysqli_real_escape_string() for your PHP Version.