i want to quote the values in a Where clause, Is this code a possible use of place holders?
$where = "(user_id = ? AND company_id = ? AND color_id = ?)";
$values = array($userId, $companyId, $colorId);
function qouteWhere($where, $values){
foreach($values as $value)
$where = $this->adapter->getPlatform()->quoteValue($value);
return $where;
}
I appreciate any help. Thanks.