Adding database interaction PHP scripts