Assuming i have
i want replace commas (,) in $b with (|) so that $b is equal to $a like this
if i use
$ob=str_replace("0000,","0000|",$b); echo $ob;
output works :
But, how to make it with PHP where did i put that this refers to the $a and what if it does not always 0000, with other purposes may be i want replace character referring to another character sequence in the array, so that $b is equal to $a, other sample :
thanks to your help.