title: mysql query text replace issue
body: <p>I have a joomla database with '<code>jos_content</code>' table containing the details about the articles.</p>
  
  <p>In that table, the column '<code>attribs</code>' is of <code>TEXT</code> datatype, which contains data about the article properties, like:</p>
  
  <pre><code>show_pdf_icon=0
  show_print_icon=0
  show_email_icon=0
  </code></pre>
  
  <p>I am trying to modify the property 'show_print_icon' so that it will have 1, like this:</p>
  
  <pre><code>show_pdf_icon=0
  show_print_icon=1
  show_email_icon=0
  </code></pre>
  
  <p>For this, i have written a query that replaces the 'show_print_icon=0' to 'show_print_icon=1' in the column.</p>
  
  <pre><code>UPDATE jos_content set attribs=replace("attribs", "%print_icon=0\nshow_email%",
  "%print_icon=1\nshow_email%") where attribs like '%print_icon=0\nshow_email%';
  </code></pre>
  
  <p>For some reason, after executing this query, i got the column values as empty. 
  I could not understand where did i go wrong. What could be the problem with query?</p>