1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 How To Find A Post In Database by Searching User ID?

Discussion in 'XenForo Questions and Support' started by DRE, Aug 4, 2013.

  1. DRE

    DRE Well-Known Member

    What's an sql query for pulling up a xf_post in the database only by posting the user id?

    Would it be:

    SELECT * FROM xf_post WHERE user_id = "xxx"
  2. MattW

    MattW Well-Known Member

    That will pull up ALL posts by that user ID
    DRE likes this.

Share This Page