Thanks for the quick reply, I will make it little clear, I have a table with fields post_content, title and author. I want to publish these rows as a post in the wordpress.
Thanks for the prompt reply.
I want to use different php script for my posts. I could still do it by putting the php code in index.php. but I was looking for a simpler solution.
First you should understand the difference between a Page and Post. Post are the normal article content and Page, we say it as a static page which does not content and comment.