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 37 + rpmfusion + remi-test
Laptop:  Fedora 36 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi