php[world] 2018 - Call for Speakers

mysqli_escape_string

(PHP 5, PHP 7)

mysqli_escape_stringAlias de mysqli_real_escape_string()

Description

Cette fonction est un alias de : mysqli_real_escape_string().

add a note add a note

User Contributed Notes 3 notes

up
1
Anonymous
14 days ago
$string = $conn->escape_string($_POST["data"]);
up
-14
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
-155
flashwebtech at gmail dot com
1 year ago
If use prepare->   i think the mysqli_real_escape_string is not needed
To Top