Oracle 5.0 Reference Manual page 2805

Table of Contents

Advertisement

MysqlndUhPreparedStatement::__construct
The __construct purpose
Description
public MysqlndUhPreparedStatement::__construct();
Parameters
This function has no parameters.
Return Values
20.7.8.8.2.
MysqlndUhPreparedStatement::execute
Copyright 1997-2012 the PHP Documentation Group. [2230]
MysqlndUhPreparedStatement::execute
Executes a prepared Query
Description
public bool MysqlndUhPreparedStatement::execute(
mysqlnd_prepared_statement statement);
Executes a prepared Query.
Parameters
statement
Return Values
Returns
TRUE
Examples
Example 20.386.
<?php
class stmt_proxy extends MysqlndUhPreparedStatement {
public function execute($res) {
printf("%s(", __METHOD__);
var_dump($res);
printf(")\n");
$ret = parent::execute($res);
printf("%s returns %s\n", __METHOD__, var_export($ret, true));
var_dump($ret);
return $ret;
}
}
mysqlnd_uh_set_statement_proxy(new stmt_proxy());
$mysqli = new mysqli("localhost", "root", "", "test");
Mysqlnd user handler plugin (mysqlnd_uh)
Warning
This function is currently not documented; only its argument list is available.
Mysqlnd prepared statement handle. Do not modify! Resource of
type
you must not modify
on success. Otherwise, returns
MysqlndUhPreparedStatement::execute
Mysqlnd Prepared Statement (internal only -
it!).
FALSE
2785
example

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents