Query a wordpress database

Discussion in 'WordPress' started by brogall, Oct 30, 2012.

  1. #1
    Can you query a wordpress databaseto return the info in json, so that it can be used for an app?
     
    brogall, Oct 30, 2012 IP
  2. markup

    markup Peon

    Messages:
    116
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    yes that is possible, you can write sql statement and get the data to array and then you can encode to JSON format
     
    markup, Oct 30, 2012 IP