The mysqli_stmt class
 
 
 (PHP 5, PHP 7, PHP 8)
 
  
   Introduction
   
    Represents a prepared statement.
   
   
 
  
   Class synopsis
 
   
    
     
    
    
     
      class mysqli_stmt
     
     {
    
    
    
    
    
    
    
    public
     readonly
     string
      $error;
 
    
    
    
    
    
    
public attr_set(
int $attribute, 
int $value): 
bool 
public execute(
?array $params = null): 
bool 
public prepare(
string $query): 
bool 
   }
 
 
   
  
   Properties
   
    
     - 
      id
     
- 
      
       Stores the statement ID.
       
 
 Table of Contents
 
 
 There are no user contributed notes for this page.