$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.