Guest User

Untitled

a guest
Jun 25th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. Array
  2. (
  3. [0] => Array
  4. (
  5. [barcode] => 48000479
  6. [code] => SK-1030-0049
  7. )
  8.  
  9. [1] => Array
  10. (
  11. [barcode] => 31145499
  12. [code] => SST-1000-0066
  13. )
  14.  
  15. )
  16.  
  17. Array
  18. (
  19. [0] => 2
  20. [1] => 5
  21. )
  22.  
  23. Array
  24. (
  25. [0] => Array
  26. (
  27. [barcode] => 48000479
  28. [code] => SK-1030-0049
  29. [quantity] => 2
  30. )
  31.  
  32. [1] => Array
  33. (
  34. [barcode] => 31145499
  35. [code] => SST-1000-0066
  36. [quantity] => 5
  37. )
  38.  
  39. foreach($first as $k => $v) {
  40. $first[$k]['quantity'] = $second[$v];
  41. }
Add Comment
Please, Sign In to add comment