Hi,
I hope that some one can help me, I am new at PHP and I am trying to take the results from 2 querys and return the difference and maybe even take it a bit further. Here is an example.
array 1:
toplevel 1111
part QTY
a 1
b 1
c 6
array 2:
toplevel 2222
part QTY
a 4
c 2
e 2
what I want is this output
Output:
the toplevel 1111 different from toplevel 2222
part QTY
a -3
b 1
c 4
e 2
I hope that some one can help me, I am new at PHP and I am trying to take the results from 2 querys and return the difference and maybe even take it a bit further. Here is an example.
array 1:
toplevel 1111
part QTY
a 1
b 1
c 6
array 2:
toplevel 2222
part QTY
a 4
c 2
e 2
what I want is this output
Output:
the toplevel 1111 different from toplevel 2222
part QTY
a -3
b 1
c 4
e 2