MysqlndUhPreparedStatement::prepare Prepare an SQL statement for execution &reftitle.description; public boolMysqlndUhPreparedStatement::prepare mysqlnd_prepared_statementstatement stringquery Prepare an SQL statement for execution. &reftitle.parameters; statement Mysqlnd prepared statement handle. Do not modify! Resource of type Mysqlnd Prepared Statement (internal only - you must not modify it!). query The query to be prepared. &reftitle.returnvalues; Returns &true; on success. Otherwise, returns &false; &reftitle.examples; <function>MysqlndUhPreparedStatement::prepare</function> example prepare("SELECT 'Labskaus' AS _msg FROM DUAL"); $stmt->execute(); $msg = NULL; $stmt->bind_result($msg); $stmt->fetch(); var_dump($msg); ?> ]]> &example.outputs; NULL, 1 => 'SELECT \'Labskaus\' AS _msg FROM DUAL', )) stmt_proxy::prepare returns true bool(true) string(46) "No more you-know-what-I-mean for lunch, please" ]]> &reftitle.seealso; mysqlnd_uh_set_statement_proxy mysqli_stmt_prepare mysqli_prepare