an attempt at the add ticket page

error saying no database selected