How Do I See If An Item In An Array Is Empty In Php
- Forums
- PHP
- How Do I See If An Item In An Array Is Empty In Php
I Want To Know How Do I See If An Item In An Array Is Empty In Php Using A Simple Script Code [2073], Last Updated: Mon Jun 24, 2024
Majiligen
Sun Dec 13, 2009
1 Comments
386 Visits
i have an array in my script but when i try to display the elements for each value in the array i get nothing
how can i check or vefiry whether or not the array has no values in each element?
PHP CODE:
echo '<pre>';
print_r($MyArray);
echo '<pre>';
?>
NOTE: change $MyArray to whatever your array name is
https://www.webune.com/forums/how-do-i-see-if-an-item-in-an-array-is-empty-in-php.html