On Wed, Jul 28, 2010 at 2:06 PM, Ryan Bilesky <rbilesky at gmail.com> wrote: > That helped. I think I have it, tell me what you think: > > http://pastebin.com/zHMjpYv3 You can stack case statements. Will save you quite a bit of code there. http://us2.php.net/manual/en/control-structures.switch.php