We can use strrpos function to find the position of the string and use substr function to insert the particular string in particular position. <?php $html = "\html/Please Click Here to Complete Questionnaire/html/" $str_to_insert = "pramodh"; $pos = strrpos($html,"Please Click…
You must be logged in to post a comment.