I=m totally stuck, have searched the web alot and these forums, but I cant seem to get a good answer. What I want to do is use a variable as a value in str_replace.
Heres what I would like to do
$newoldgrants = str_replace(", 5",'',$p);
Instead of the 5, I would like to have a variable. So in other words I want to search and replace both static text and have a dynamic variable. Can anyone help me please