Dears,

How can I remove empty cells/places in an array. For
example:

a[1]='John';
a[2]='Mike';
a[3]='Lisa';
a[4]='';
a[5]='';

How can I remove a[4] & a[5], so the array is only

a[1]='John';
a[2]='Mike';
a[3]='Lisa';


=====
Regards,
OOzy

What is the purpose of life?


                
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to