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.

Laptop:  Fedora 40 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: AlmaLinux 8 with EPEL, rpmfusion, remi