Sort array using another array

前端 未结 0 1661
执笔经年
执笔经年 2021-02-14 23:01

I have an array of products and i want to sort them with another array.

$products = array(
  0 => \'Pro 1\',
  1 => \'Pro 2\',
  2 => \'Pro 3\'
);

$sor         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题