Change "oo" to "00" in a string using some loop – PHP
Need to hep to change multiple characters in a string using some loop without built-in functions in PHP. <?php $givenString = "School"; $i=0; while($givenString[$i]){ $i++; if($givenString[$i] == o){ $givenString[$i] = 0; } } echo $givenString; ?> Result: Sch0ol Required Result:…