PHP » GoLang |
login |
register |
about
|
GoLang maxdb_stmt_prepare
request it (372)
GoLang replacement for PHP's maxdb_stmt_prepare
[edit | history]
maxdb_stmt_preparemaxdb_stmt::prepare(PECL maxdb >= 1.0) maxdb_stmt_prepare -- maxdb_stmt::prepare — Prepare an SQL statement for execution DescriptionProcedural style
bool maxdb_stmt_prepare
( resource
$stmt
, string $query
)Object oriented style maxdb_stmt_prepare() prepares the SQL query pointed to by the null-terminated string query. The statement resource has to be allocated by maxdb_stmt_init(). The query must consist of a single SQL statement.
The parameter
The parameter markers must be bound to application variables using maxdb_stmt_bind_param() and/or maxdb_stmt_bind_result() before executing the statement or fetching rows. Return Values
Returns ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above example will output something similar to: Portland is in district OR See Also
|
more
Recently updated
more
Most requested
more
Last requests
|