$rowB['charge']= preg_replace( $rowB['charge'] = 1||0||-1, " ", $rowB['charge']);
Three things i want to do:
1. Is there a way replace the numbers -1, 0 and 1 with empty spaces but still have all the other numbers still show up i.e 2-9 & "-2" - "-9"? My preg_replace variations either does all or none.
2. I want to strip all negative numbers of their negative signs and only have absolutes i.e -2 to 2.
3. I seriously need code for doing subscripts or supscripts in php? I can do it in html.