if arrayb empty condtion in php code example
Example: array should not be empty php
$arr = array();
if(!empty($arr)){
echo "not empty";
}
else
{
echo "empty";
}
$arr = array();
if(!empty($arr)){
echo "not empty";
}
else
{
echo "empty";
}