$query="INSERT INTO `ARTICLES` (`TITLE`, `BY`, `IN`, `POST`)
VALUES('". $title ."', '". $by ."', '". $in ."', '". $_POST['post'] ."')";
This code is able to save small length text but not large. The datatype for the POST field is longtext.
Also if i insert data thru phpmyadmin, it gets saved.
Use this query, and modify the database field’s property to BLOB text using PHPmyAdmin.
I works for me when i need to insert large contents.