Deletes rows in a table based on a WHERE filter
(can be just one or many rows based on the filter)
public DeleteRows ( string $tableName, array $whereArray = null ) : boolean | ||
$tableName | string | The name of the table |
$whereArray | array | (Optional) An associative array containing the column names as keys and values as data. The values must be SQL ready (i.e. quotes around strings, formatted dates, ect). If not specified then all values in the table are deleted. |
return | boolean | Returns TRUE on success or FALSE on error |