Inserting the post in
move_uploaded_file($image_tmp,"../images/$post_image");
$insert_query = "insert into posts
(post_title,post_date,post_atuthor,post_image,post_keyword
s post_content) values('$post_title','$post_date','
$post_author','$post_image','$post_keywords','
$post_content')";
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