| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Array set to empty|
So many array functions
Just want to empty an array:
$ILoveSushi = ""; seems to add an empty index. How do I make the whole array empty?
You can do this:
$ILoveSushi = NULL;
...or, if you want to keep the variable as an array but completely empty it, do this:
$ILoveSushi = array();
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved