I already have working code, however tjis doesn't strip the data and 90% of the data is untrusted. This is written inside an Object which extends the PDO Object.
public function query(
$statement, array $values = array()
) {
$stmp = parent::Prepare($statement);
return (empty($values)) ? $stmp->execute() : $stmp->execute($values);
}
Is the a way I can use bindParam()
to do this using a for
statement?