Hey All,
I have an array which is like the following
Array ( [0] => 0 [1] => 0 [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => 0 [8] => 0 [9] => 0 )
I have called the array $myarray
When i run
if(empty($myarray)){ echo 'Its all empty'; }
It doesnt work ... It should return the string 'Its all empty' but its not.
Can someone please let me know where im going wrong?
Cheers,