i got bunch of strings one:
(50 μg/ml); (10, 20, 30, 40, 50, 60 μg/ml) (sub-diploid dna fraction) (p<0.05)
what want php replace "<" in last parentheses like:
(p<0.05)
i got tired , frustrated googling please me out that. need php preg replace function finds less , greater symbols within parenthesis of string , replace it's ascii code.
hope work.
$str="p<0.05"; $s1=html_entity_decode(str_replace("<", "<", $str)); echo $s1;
or
$s1 = html_entity_decode($str);