PHP » GoLang |
login |
register |
about
|
GoLang mysqli::prepare
request it (439)
GoLang replacement for PHP's mysqli::prepare
[edit | history]
mysqli::preparemysqli_prepare(PHP 5, PHP 7) mysqli::prepare -- mysqli_prepare — Prepare an SQL statement for execution DescriptionObject oriented style Procedural style Prepares the SQL query, and returns a statement handle to be used for further operations on the statement. The query must consist of a single SQL statement. The parameter markers must be bound to application variables using mysqli_stmt_bind_param() and/or mysqli_stmt_bind_result() before executing the statement or fetching rows. Parameters
Return Values
mysqli_prepare() returns a statement object or ExamplesExample #1 mysqli::prepare() example Object oriented style
<?php Procedural style
<?php The above examples will output: Amersfoort is in district Utrecht See Also
|
more
Recently updated
more
Most requested
more
Last requests
|