Alisonr 0 Posted November 1, 2010 (edited) I'm using the following code to move an html data table into an array. $oTable = _IETableGetCollection ($oIE,2) $avArray = _IETableWriteToArray ($oTable, true) Using "_ArrayDisplay($avArray)" I can see the array: Row Col0 Col1 [0] |Vda |Qtd [1] |72245 |6 [2] |72250 |5 [3] |72255 |23 [4] |72260 |5 [5] |72265 |25 I need to retrieve the value "72245" (Row[1], Col0) into a variable. Please let me know how to perform this. Thanks. Edited November 1, 2010 by Alisonr Share this post Link to post Share on other sites
ZacUSNYR 4 Posted November 1, 2010 I'm using the following code to move an html data table into an array. $oTable = _IETableGetCollection ($oIE,2) $avArray = _IETableWriteToArray ($oTable, true) Using "_ArrayDisplay($avArray)" I can see the array: Row Col0 Col1 [0] |Vda |Qtd [1] |72245 |6 [2] |72250 |5 [3] |72255 |23 [4] |72260 |5 [5] |72265 |25 I need to retrieve the value "72245" (Row[1], Col0) into a variable. Please let me know how to perform this. Thanks. What do you mean? It already is a variable - in the array. $avArray[1][0] is the variable. If you want it by itself you can $myvariable = $avArray[1][0] but not sure why you would want to do that. Share this post Link to post Share on other sites
Alisonr 0 Posted November 1, 2010 This is what I was looking for... Thanks! Share this post Link to post Share on other sites