generating records with php and ajax. Working on modify add and delete opstions