I have been learning php for a little while. After following some tutorials, I decided to try to write my own code. It was going really well and my code was working the way I wanted it to. But after a while, the code was getting really messy and confusing and I got overwhelmed. I decided to take a break for a while and learn how to make flash games. But now I think it's time to get back to my website. But, if I am going to continue working on my website, I am first going to need to reorganize my code. Are there any standards for organizing php code or does anybody have a system they use that they wouldn't mind sharing?