Welcome Guest, Not a member yet? Register   Sign In
count of empty array
#2

[eluser]Hermawan Haryanto[/eluser]
Are you sure that it's an array?
Take a look at this manual here: http://id.php.net/count
If var is not an array or an object with implemented Countable interface, 1 will be returned. There is one exception, if var is NULL, 0 will be returned.

Good luck,
Hermawan Haryanto


Messages In This Thread
count of empty array - by El Forum - 05-08-2008, 02:02 AM
count of empty array - by El Forum - 05-08-2008, 02:10 AM
count of empty array - by El Forum - 05-08-2008, 02:28 AM
count of empty array - by El Forum - 05-08-2008, 02:51 AM
count of empty array - by El Forum - 05-08-2008, 04:08 AM
count of empty array - by El Forum - 05-08-2008, 05:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB