Topic: question regarding mysql_real_escape_string

I'm using php remi 7.1.x and I noticed that I can still use the mysql_real_escape_string while regarding this function has been removed since version 7.x. Am I correct that this function is still available in remi php packages?

Re: question regarding mysql_real_escape_string

The whole mysql extension is deprecated (for years) and have been removed from PHP 7.

So you sholud use the mysqli extension , and thus the mysqli_real_escape_string function

BTW, the php-mysql-mysql package exists for old legacy application, but using it can only be a temporary workaround, the code have to be fixed.

Desktop: Fedora 27 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 28 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test