Inserting the post in

  • updated
  • Answered


$insert_query = "insert into posts


s post_content) values('$post_title','$post_date','



if(mysql_query($insert_query)) {

echo "

Post Published sucessfully!

" ;


I coded this and I was expecting that after completing the inserting page posting I will get the message Post Published

sucessfully! in middle but I am not getting what is my mistake or is there any other way to get it through

Hello Shankar, We're sorry to hear that you're having problems with the code for a message stating the successful insertion of a post. Unfortunately, we do not provide coding support for websites. We do try to point you to resources or guides that may help solve your problem. Check out this post on the topic of how to create a notification after saving a record. I hope that helps to guide you to the solution you're seeking. If you have any further questions, please let us know. Regards, Arnel C.