Create new ticket

create ticket send to MySQL database send if the ticket went through.