Hi, i have a question. If i have something like this==>
--
$test = "Hello, this is a test and only a test";
$test_final = str_replace("test","drill",$test);
echo $test;
this will show the text: "Hello, this is a drill and only a drill"
pretty simple right? My question is, how can i limit the amount of times the word "test" is replaced so the string would read something like this:
"Hello, this is a drill and only a test".
Any help would be appreciated. Thank you for your time.