Tournament Brackets in jQuery, PHP and AJAX

We’re having a lan party in a couple of days. Having a handful of competitions we were looking for a good way to show people the brackets and at the same time be able to easily edit them.

I came across a website with a neat little jQuery plugin:

Quickly whipped together a simple working (yet very messy code) example here:
Tournament Brackets [Download]

Once you restore the tables with the sql file included in the zip you can have your fun with them. It’s not entirely secure but this is just a quick example on how to make it work with jQuery, PHP and Ajax.

Cleaning up the code is something I’ll do when I have some time to spare, in the mean time feel free to use the example for your own competitions.