I am using PHP 8.0 Version but recently i get this error : Uncaught Error: Call to undefined function mysql_real_escape_string()
is there any solution for this ?
I am using PHP 8.0 Version but recently i get this error : Uncaught Error: Call to undefined function mysql_real_escape_string()
is there any solution for this ?
mysql_real_escape_string
was DEPRECATED in PHP 5.5.0 and REMOVED in PHP 7.0.0.¹
PHP recommends using MySQLi or PDO instead.
¹ https://www.php.net/manual/en/function.mysql-real-escape-string.php