HOME

The mysqli_stmt class
Mysqli
PHP Manual

The mysqli_stmt class

(PHP 5)

Introduction

Represents a prepared statement.

Class synopsis

mysqli_stmt {
/* Properties */
int $errno;
string $error;
string $sqlstate;
/* Methods */
int attr_get ( int $attr )
bool attr_set ( int $attr , int $mode )
bool bind_param ( string $types , mixed &$var1 [, mixed &$... ] )
bool bind_result ( mixed &$var1 [, mixed &$... ] )
bool close ( void )
void data_seek ( int $offset )
bool execute ( void )
bool fetch ( void )
void free_result ( void )
mysqli_result get_result ( void )
object get_warnings ( mysqli_stmt $stmt )
mixed prepare ( string $query )
bool reset ( void )
mysqli_result result_metadata ( void )
bool send_long_data ( int $param_nr , string $data )
bool store_result ( void )
}

Table of Contents


Mysqli
PHP Manual