WordPress.org

Ready to get started?Download WordPress

Forums

Which tables are updated when a new post is done? (4 posts)

  1. bekar09
    Member
    Posted 5 years ago #

    Hi Everybody,

    I'm pretty new to wordpress. Can someone please help me by letting me know what tables are updated when a new post is made? As in suppose I want to write a post using a separate php file. How should I frame my sql query? What tables are updated when a new post is submitted?

    Please help me. Thanks.

  2. bekar09
    Member
    Posted 5 years ago #

    anyone please???

  3. lkinnyc
    Member
    Posted 5 years ago #

    The table is wp_posts.

    I am actually working on an external post creator right now and found this page to be very helpful:

    http://codex.wordpress.org/Function_Reference/wp_insert_post

  4. bekar09
    Member
    Posted 5 years ago #

    Thanks lkinnyc,

    I am actually in the process of writing a scrapper script which will fetch data from another website and in the process will write into the database. Could you please elaborate a little more about your 'external post creator' as in whether it will store images also or not in the database and also the query that you're running?

    Thanks.

    [moderated--bump removed. Please refrain from bumping as per Forum Rules]

Topic Closed

This topic has been closed to new replies.

About this Topic