(PHP 5, PHP 7)
Prepare an SQL statement for execution
mysqli_stmt mysqli::prepare ( string $query )
Object oriented style
Procedural style
mysqli_stmt mysqli_prepare ( mysqli $link , string $query )
Prepares the SQL 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 markers must be bound to application variables using my