php[world] 2018 - Call for Speakers

mysqli_escape_string

(PHP 5, PHP 7)

mysqli_escape_stringAlias of mysqli_real_escape_string()

Description

This function is an alias of: mysqli_real_escape_string().

add a note add a note

User Contributed Notes 3 notes

up
0
Anonymous
13 days ago
$string = $conn->escape_string($_POST["data"]);
up
-12
Lawrence DOliveiro
6 months ago
mysqli_escape_string is a shorter name than mysqli_real_escape_string and doesn’t seem to be deprecated, so you might as well save typing.
up
-154
flashwebtech at gmail dot com
1 year ago
If use prepare->   i think the mysqli_real_escape_string is not needed
To Top