#dual-write problem php