Created php scripts for db