Support » Fixing WordPress » Which tables are updated when a new post is done?

  • bekar09

    (@bekar09)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • bekar09

    (@bekar09)

    anyone please???

    lkinnyc

    (@lkinnyc)

    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

    bekar09

    (@bekar09)

    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]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Which tables are updated when a new post is done?’ is closed to new replies.