SunshinePHP 2019 CFP Started

mysqli_escape_string

(PHP 5, PHP 7)

mysqli_escape_stringApelido para mysqli_real_escape_string()

Descrição

Esta função é um apelido para mysqli_real_escape_string().

Veja Também

  • mysqli_real_escape_string() - Escapes special characters in a string for use in an SQL statement, taking into account the current charset of the connection

add a note add a note

User Contributed Notes 2 notes

up
4
Anonymous
2 months ago
$string = $conn->escape_string($_POST["data"]);
up
-20
Lawrence DOliveiro
8 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.
To Top