Pee-H-Pee
10-20-2004, 08:21 PM
I am trying to replace multiple strings on the same page but having problems. Only one seems to work... is there another function for this?
$row[0] = str_replace("&","and",$row[0]);
$row[0] = str_replace("/","or",$row[0]);
Also, I need it to put everything back to normal on the next page.
$row[0] = str_replace("and","&",$row[0]);
$row[0] = str_replace("or","/",$row[0]);
$row[0] = str_replace("&","and",$row[0]);
$row[0] = str_replace("/","or",$row[0]);
Also, I need it to put everything back to normal on the next page.
$row[0] = str_replace("and","&",$row[0]);
$row[0] = str_replace("or","/",$row[0]);