Jump to content

Recommended Posts

Posted

Hello,

i've taken a table from a webpage. this table has 3 rows and a n number of column.

My question is simple i guess how do i know how many elements are in the second array part : $aArray[2][here!].

i have read through the help and i've a lot of trials but no luck.

Or if there is a way to change my 2d array into 2 one dimension array also that would do.

Thanks

Lespoils

Posted

Ubound ($2dArray, 2)

UBound Returns the size of array dimensions.

UBound ( Array [, Dimension] )

Parameters

Array The array variable which is being queried. Dimension [optional] Which dimension of a multi-dimensioned array to report the size of. Default is 1, which is the first dimension. If this parameter is 0, the number of subscripts in the array is returned

8)

NEWHeader1.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...