Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. array(10) {
  2. [0]=>
  3. array(6) {
  4. ["plano"]=>
  5. string(0) ""
  6. ["fornecedor"]=>
  7. string(26) "PERSIANAS KAZZA LTDA - EPP"
  8. ["vencimento"]=>
  9. string(8) "20190620"
  10. ["pagamento"]=>
  11. string(0) ""
  12. ["total"]=>
  13. string(6) "662.19"
  14. ["tipo"]=>
  15. string(2) "CO"
  16. }
  17. [1]=>
  18. array(6) {
  19. ["plano"]=>
  20. string(4) "6924"
  21. ["fornecedor"]=>
  22. string(26) "PERSIANAS KAZZA LTDA - EPP"
  23. ["vencimento"]=>
  24. string(8) "20190620"
  25. ["pagamento"]=>
  26. string(8) "20190620"
  27. ["total"]=>
  28. string(6) "662.19"
  29. ["tipo"]=>
  30. string(2) "CP"
  31. }
  32. [2]=>
  33. array(6) {
  34. ["plano"]=>
  35. string(4) "6786"
  36. ["fornecedor"]=>
  37. string(30) "CECRISA REVEST. CERAMICOS S.A."
  38. ["vencimento"]=>
  39. string(8) "20190621"
  40. ["pagamento"]=>
  41. string(1) "0"
  42. ["total"]=>
  43. string(5) "75.11"
  44. ["tipo"]=>
  45. string(2) "CP"
  46. }
  47. [3]=>
  48. array(6) {
  49. ["plano"]=>
  50. string(0) ""
  51. ["fornecedor"]=>
  52. string(30) "CECRISA REVEST. CERAMICOS S.A."
  53. ["vencimento"]=>
  54. string(8) "20190621"
  55. ["pagamento"]=>
  56. string(0) ""
  57. ["total"]=>
  58. string(8) "15474.72"
  59. ["tipo"]=>
  60. string(2) "CO"
  61. }
  62. [4]=>
  63. array(6) {
  64. ["plano"]=>
  65. string(0) ""
  66. ["fornecedor"]=>
  67. string(24) "AGILE DISTRIBUIDORA LTDA"
  68. ["vencimento"]=>
  69. string(8) "20190624"
  70. ["pagamento"]=>
  71. string(0) ""
  72. ["total"]=>
  73. string(6) "182.20"
  74. ["tipo"]=>
  75. string(2) "CO"
  76. }
  77. [5]=>
  78. array(6) {
  79. ["plano"]=>
  80. string(0) ""
  81. ["fornecedor"]=>
  82. string(24) "AGILE DISTRIBUIDORA LTDA"
  83. ["vencimento"]=>
  84. string(8) "20190624"
  85. ["pagamento"]=>
  86. string(0) ""
  87. ["total"]=>
  88. string(6) "217.91"
  89. ["tipo"]=>
  90. string(2) "CO"
  91. }
  92.  
  93. $v = array(); //acima
  94.  
  95. if(array($v[$x]["fornecedor"],$v[$x]["vencimento"],$v[$x]["total"]),$v){
  96. //true
  97. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement