Apache javascript php mysql crud app