Asked 3 years ago
26 Jul 2021
Views 674
Angelina

Angelina posted

Why mysqli_real_escape_string() returns NULL?

Why mysqli_real_escape_string() returns NULL?
angeo

angeo
answered Jul 28 '21 00:00

A MySQL connection is required before using mysql_real_escape_string() otherwise an error of level E_WARNING is generated, and false is returned.
in the case of error mysqli_real_escape_string() returns NULL
Post Answer