Php implementation

update master form html view to php manipulation