My first project in PHP, the code is messy...