PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
You're right timvw, I didn't do any of that. I was trying to shorten his code for him, not rewrite it. However, you bring up some very good points that the original poster should seriously take into consideration.