I want to replace a string with database function if it exists. I am using str_replace in following way but it doesn't work for me, this is returning $numOne as it was.
function stringreplace($multiple,$numOne){
$multiple = Multiply;
$numOne = a_b_cMultiply;
str_replace($multiple, "abcdfgh('','')::numeric", $numOne);
return $numOne;
}