# Flash & MySQL - Random pairing

**URL:** <https://forum.kirupa.com/t/flash-mysql-random-pairing/240021>\
**Category:** Uncategorized\
**Created:** [September 28, 2007, 11:44am UTC](https://forum.kirupa.com/t/flash-mysql-random-pairing/240021 "2007-09-28T11:44:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Polarathene](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@Polarathene](https://forum.kirupa.com/u/Polarathene)\
**Post date:** [September 28, 2007, 11:44am UTC](https://forum.kirupa.com/t/flash-mysql-random-pairing/240021/1 "2007-09-28T11:44:33Z")

</div>

What I’m trying to do is take registered users for a tournament and randomly pair them with one another, so my question is how would I go about this, any links towards useful information on this?

User submits interest in tournament, name is stored in mysql database, a button for the host runs actionscript/php to randomly pair the users in the database and display this information. If an odd number the last would be paired with a blank.

Any help would be appreciated, cheers!
