Description

int delete(string $table, string $where = null, mixed $parameters = array())

Query to delete records, which returns the number of affected rows.

Parameters

string $table
The table to perform the delete-statement on.
string $where = null
The WHERE-clause.
mixed $parameters = array()
The parameters that will be used in the query.

Return values

int - The number of affected rows.

Comment