PHP How to Check If and Array is Empty

October 21st, 2011 by Regaz

How to Ckeck if a PHP Array is Empty?
How to Check if an Array Contain No Data?
To Check if an Array is Empty we can Use the PHP Function empty():

empty($array)

Return True if the Array is Empty, else Return False.

(Visited 1 times, 1 visits today)

Tags: