manual.texi correct instance of mysql_escape() to mysql_escape_string();

manual.texi	add mention of mysql_escape_string() for PHP API;
manual.texi	add mention of PreparedStatement, placeholders for JDBC API.
parent bd916b42
...@@ -12071,11 +12071,13 @@ not give your applications any more access privileges than they need. ...@@ -12071,11 +12071,13 @@ not give your applications any more access privileges than they need.
Users of PHP: Users of PHP:
@itemize @bullet @itemize @bullet
@item Check out the @code{addslashes()} function. @item Check out the @code{addslashes()} function.
As of PHP 4.0.3, a @code{mysql_escape_string()} function is available
that is based on the function of the same name in the @strong{MySQL} C API.
@end itemize @end itemize
@item @item
Users of @strong{MySQL} C API: Users of @strong{MySQL} C API:
@itemize @bullet @itemize @bullet
@item Check out the @code{mysql_escape()} API call. @item Check out the @code{mysql_escape_string()} API call.
@end itemize @end itemize
@item @item
Users of @strong{MySQL}++: Users of @strong{MySQL}++:
...@@ -12087,6 +12089,11 @@ Users of Perl DBI: ...@@ -12087,6 +12089,11 @@ Users of Perl DBI:
@itemize @bullet @itemize @bullet
@item Check out the @code{quote()} method or use placeholders. @item Check out the @code{quote()} method or use placeholders.
@end itemize @end itemize
@item
Users of Java JDBC:
@itemize @bullet
@item Use a @code{PreparedStatement} object and placeholders.
@end itemize
@end itemize @end itemize
@item @item
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment