18.06.2015, 08:47
So, this is something I've been stuck with for quite some time.
Lets say I have 5 items of vehicle information in my array. For example:
How would one get the amount of items in that array? I tried using sizeof(thisarray[]); but without success, it gave me a random number.
Lets say I have 5 items of vehicle information in my array. For example:
PHP код:
{451, 3.0, 4.0, 6.0, 220.0, 10000, 40000},
{591, 3.0, 4.0, 6.0, 220.0, 40000, 10000},
{512, 3.0, 4.0, 6.0, 220.0, 30000, 60000},
{485, 3.0, 4.0, 6.0, 220.0, 60000, 30000},
{412, 3.0, 4.0, 6.0, 220.0, 90000, 90000}