Amount of items in an array.
#1

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:
PHP код:
{4513.04.06.0220.01000040000}, 
{
5913.04.06.0220.04000010000}, 
{
5123.04.06.0220.03000060000}, 
{
4853.04.06.0220.06000030000}, 
{
4123.04.06.0220.09000090000
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.
Reply


Messages In This Thread
Amount of items in an array. - by Jimmy0wns - 18.06.2015, 08:47
Re: Amount of items in an array. - by Darrenr - 18.06.2015, 10:52
Re: Amount of items in an array. - by Jimmy0wns - 18.06.2015, 11:10
Re: Amount of items in an array. - by RajatPawar - 18.06.2015, 11:43
Re: Amount of items in an array. - by Jimmy0wns - 18.06.2015, 11:45
Re: Amount of items in an array. - by Jimmy0wns - 18.06.2015, 12:06

Forum Jump:


Users browsing this thread: 1 Guest(s)