| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe and Support WebmasterWorld|
|Array set to empty|
So many array functions
| 7:10 am on Sep 30, 2006 (gmt 0)|
Just want to empty an array:
$ILoveSushi = ""; seems to add an empty index. How do I make the whole array empty?
| 3:53 pm on Sep 30, 2006 (gmt 0)|
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.
© Webmaster World 1996-2014 all rights reserved