title: How to replace a portion of a dynamic php string
body: <p>I have a page that is calling dynamic URL content from MySQL via Primary ID. The information is being called and echoed as</p>
  
  <pre><code>"../images/icons/filename.jpg"
  </code></pre>
  
  <p>via this command:</p>
  
  <pre><code>&lt;php echo $row_getimages['icon']; ?&gt;
  </code></pre>
  
  <p>I want to change "../images/icons/filename.jpg" to:</p>
  
  <pre><code>"http://www.mysite.com/images/icons/filename.jpg"
  </code></pre>
  
  <p>Does anyone know if this is possible with a str_replace or some other command? I have tried that particular one but I am having trouble figuring out the proper syntax.</p>