$rowA=array("-1","1","2","-2","3","-3","4");
$rowA['charge']= preg_replace("\-\1", " ", $rowA);
How do i make this such that all numbers show up without negative signs on them? I also want "1" to be omitted from all results. So my results should only be 2,3 & 4 if i access the array.