|
maxdb_preparemaxdb::preparePrepare an SQL statement for execution DescriptionProcedural style
resource maxdb_prepare
( resource
$link
, string $query
)Object oriented style
maxdb_stmt maxdb::prepare
( string
$query
)maxdb_prepare prepares the SQL query pointed to by the null-terminated string 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
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
maxdb_prepare returns a statement resource or ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above example will output something similar to: Rosemont is in district IL See Also
|