Offers add functionality with php validation.