Delocate SQL Script in PHP in order's synch