Inserting the values in separate rows using php
<p>I am using a curl concept and getting the description from the other website but the  description is inserting in aldpabetic order like :</p>

<p>all <strong>A's</strong> in one row and all <strong>B's</strong> in one row</p>

<p>and so on but i want all of them to be in separate rows. Please help.</p>

<pre><code>include('simple_html_dom.php'); // get DOM from URL or file 
$html = file_get_html('animecrunch.com/';); 
// find all td tags with attribite valign=top and plain text    
foreach($html-&gt;find('td[valign=top]') as $e) { 
   $anime= htmlentities(trim($e-&gt;plaintext), ENT_NOQUOTES ,'UTF-8'); 
   $vowels = array("!", "'"); 
   $pureanime = str_replace($vowels, "", "$anime"); 
   $count=mysql_num_rows($query1); 
   if($count==0) { 
      $query=mysql_query("insert into anime(anime) values('$pureanime')") or die(mysql_error()); 
      header("location:test1.php"); 
   }
}
</code></pre>
