Ticket system for companies using Mysql and PHP