How do I find if an array has one or more elements?
I need to execute a block of code where the size of the array is greater than zero.
if ($result &
$ii = 1; $arry_count = count($args); foreach ( $args as $post) { if( $ii == $arry_count ) { $last = 'blog_last_item'; } echo $last; $ii++; }