Basically, I have a multidimensional array, and I need to check whether or not it is simply empty, or not.
I currently have an if statement trying to do thi
if
You can use array_push to avoid this situation,
$result_array = array();
array_push($result_array,$new_array);
refer array_push
Then you can check it using if (!empty($result_array)) { }