Added php code to submit on click of the "Add"button