i need the results of specific index which is the last value that need to show and use to calculate next... example like results below
i only need the red result
-----------------------------------------------
value compare:: widthCut 53.00and jobWidthMulti 5.00
indexJobWidth ----1
value compare:: widthCut 53.00and jobWidthMulti 10.00
indexJobWidth ----2
value compare:: widthCut 53.00and jobWidthMulti 15.00
indexJobWidth ----3
value compare:: widthCut 53.00and jobWidthMulti 20.00
indexJobWidth ----4
value compare:: widthCut 53.00and jobWidthMulti 25.00
indexJobWidth ----5
value compare:: widthCut 53.00and jobWidthMulti 30.00
indexJobWidth ----6
value compare:: widthCut 53.00and jobWidthMulti 35.00
indexJobWidth ----7
value compare:: widthCut 53.00and jobWidthMulti 40.00
indexJobWidth ----8
value compare:: widthCut 53.00and jobWidthMulti 45.00
indexJobWidth ----9
value compare:: widthCut 53.00and jobWidthMulti 50.00
indexJobWidth ----10
================================================================
value compare:: widthCut 35.00and jobWidthMulti 5.00
indexJobWidth ----1
value compare:: widthCut 35.00and jobWidthMulti 10.00
indexJobWidth ----2
value compare:: widthCut 35.00and jobWidthMulti 15.00
indexJobWidth ----3
value compare:: widthCut 35.00and jobWidthMulti 20.00
indexJobWidth ----4
value compare:: widthCut 35.00and jobWidthMulti 25.00
indexJobWidth ----5
value compare:: widthCut 35.00and jobWidthMulti 30.00
indexJobWidth ----6
value compare:: widthCut 35.00and jobWidthMulti 35.00
indexJobWidth ----6
================================================================
and this is my code.....
how can i solve it to get and show only last value ?
i need help - -'
ps. actually the widthCut[] and lengthCut require to query from database << but i cann't do it !! T_T