php code for adding item to database
added add_input class