How Do I See If An Item In An Array Is Empty In Php

RegisterLogin
How Do I See If An Item In An Array Is Empty In Php
Post Description: I Want To Know How Do I See If An Item In An Array Is Empty In Php Using A Simple Script Code
Tags: How, Do, I, See, If, An, Item, In, An, Array, Is, Empty, In, Php
This Post Was Posted On Dec 13, 2009 By Majiligen #2897
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?
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
webune
#3008 1
you can use this simple code to see each value of each element:

PHP CODE:
<?php
echo '<pre>';
print_r($MyArray);
echo '<pre>';
?>


NOTE: change $MyArray to whatever your array name is
Dec 13, 2009 Reply Report abuse
©2012 Webune Forums - Sat Dec 15, 2012 10:45 am
Powered by: Webune Forums V3