Php application for inserting updating and deleting record