Hi,
When all values have been deleted from my array and I print_r() my array it outputs as: Array ( [0] => Array ( [1] => Array ( ) ) [1] => Array ( [2] => Array ( ) ) )
How do I ensure that the array is completely empty?
Empty array [SOLVED]
Moderator: General Moderators
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London
Empty array [SOLVED]
Last edited by aceconcepts on Mon Apr 14, 2008 4:26 am, edited 2 times in total.
Re: Delete values from array
Search the array for the value to find it's key, then do what you're doing there with the key you found.