Replace Array With New Array Php Format Mysql