Insert update delete record using ajax in php

Record insert and update without refreshing the page