WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've built a simple game which is housed on my homepage. I'd like to create a leader board (a small results table) which displays the top three 3 scores.

How would i insert/retrieve the score data into and from my DB?

The games been coded using JS, is there wordpress php functions that would help me GET / POST this data.

thanks in advance, Cam

share|improve this question
codex.wordpress.org/AJAX_in_Plugins + any of the metadata functions like codex.wordpress.org/Function_Reference/get_metadata – soulseekah Mar 19 '12 at 13:50
@Soulseekah you may as well add that comment as an answer coz you've got it right – sanchothefat Mar 19 '12 at 14:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.