Sign in to follow this  
Followers 0
lespoils

Tables row and column

4 posts in this topic

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

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

Thank you, all works great now, i never would have looked into the UBound Function Thanks again

Lespoils

Share this post


Link to post
Share on other sites

Welcome

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0