title: I tried to use this php scipt to remove html tags from a table row (select data and update the row)
body: <p>I tried to use this php scipt to remove html tags from a table row. 
  (select the data,  strip_tags the string and update the row)</p>
  
  <p>I would be more than thankful for help to find whats wrong.
  The "select" is working and i can "echo" or "print" the result and the "strip_tags" is also working.</p>
  
  <p>But, the data is not updated to the table row ? Somthing wrong with the "update" lines?</p>
  
  <pre><code>&lt;?php
  include_once ("classes/config.php");
  
  $sql = "SELECT * FROM group_profile WHERE indexer = 4300741";
  $query = mysql_query($sql);
  $result = @mysql_fetch_array($query);
  $group_name = $result['group_description'];
  $group_description = strip_tags($group_description, '&lt;p&gt;');
  
  
  $sql1 = "UPDATE group_profile SET group_name = $group_description WHERE indexer = 4300741";
  mysql_query($sql1);
  @mysql_close();
  
  ?&gt;
  </code></pre>