带有编程代码的Textarea内容不会插入数据库中

I am uploading articles using PHP, article containing the programming source code , when i write the code at the bottom of the article then data is inserting in database. But when i write more than two code e.g one code at the middle of the page and one at the bottom of the page then $_POST['description'] goes to empty.

Here is the screenshot of editor (this will make a sense for you): ScreenShot .

I am testing also with custom (simple) PHP , the original code is of codeigniter.

Here is the inserting query:

mysql_query("insert into articles SET title=>"'.$_POST['title'].'",description="'.$_POST['description'].'" ");

For codeigniter case:

$data_i  = array('title'=>$_POST['title'],'description'=>$_POST['description']);
        $this->db->insert('articles',$data_i);

This is working fine on WAMP server but it is not working online at hosting server