- split out db php