using mysql_real_escape_string escaping all <p> tags and data after that
<p>i am using <code>ckeditor</code> and i get data from it by using the function inbuilt in it. <code>var buy_description=CKEDITOR.instances['textarea_description_add'].getData();</code> but the problem is ckeditor replaces every new line with <code>&lt;p&gt;&lt;/p&gt;</code> tags and when i use <code>mysql_real_escape_string</code> to get that data then the data after the <code>&lt;p&gt;&lt;/p&gt;</code> tags that is after a new line dosen't gets insterted into database . i alerted the <code>var buy_description</code> but it had the whole data , but when i echo <code>$description=mysql_real_escape_string($_REQUEST['description']);</code> then the data is not complete . if i dont use <code>mysql_real_escape_string</code> data comes complete but due to security purpose i have to use it . so can anyone suggest me any method to save data without escaping the data having <code>&lt;p&gt;&lt;/p&gt;</code> tags ?</p>

<p>for eg</p>

<pre><code>&lt;p&gt;john is awesome&lt;/p&gt;&lt;p&gt;he loves food&lt;/p&gt;
</code></pre>

<p>is being replaced by</p>

<pre><code>&lt;p&gt;john is awesome&lt;/p&gt;&lt;p&gt;
</code></pre>
