title: replace 2 words in a string with php
body: <p>How can I do this replace in php, I have a first title which is like this: </p>
  
  <blockquote>
    <p>the price <strong>From</strong> example <strong>To</strong> example is 3,</p>
  </blockquote>
  
  <p>and I want to output the same title also but change like this:  </p>
  
  <blockquote>
    <p>the price <strong>To</strong> example <strong>From</strong> example is 3,</p>
  </blockquote>
  
  <p>I use the code below but is not change the second word. I get this:  </p>
  
  <blockquote>
    <p>the price <strong>To</strong> example <strong>To</strong> example is 3,</p>
  </blockquote>
  
  <p><code>echo str_replace(array("From","To"), array("To","From"), $title);</code></p>