foreach with three variables add

后端 未结 4 1153
别跟我提以往
别跟我提以往 2020-12-04 01:12

i want to use foreach function for 3 variables

i use this code in my page:

foreach (array_combine($online_order_name, $online_order_         


        
4条回答
  •  我在风中等你
    2020-12-04 01:44

    I don't believe this is possible with array_combine and foreach, because they operate specifically on key/value pairs in an associative array. PHP doesn't have tuples as a builtin data structure.

提交回复
热议问题