Re: delete an element from an array
| From: | kaab kaoutar | Date: | Mon, 05 Mar 2001 16:11:29 +0000 |
| Subject: | Re: delete an element from an array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42625@lists.php.net to get a copy of this message | ||
Thanks! but i know this function!
i can't do that cause my varibale is multidimenssional, and i don't want to update all that ! for one element !
we can't decrement the length of the array ?! no way ?
From: Hardy Merrill <merrill@missioncriticallinux.com> To: kaab kaoutar <kaab_k@hotmail.com> CC: php-general@lists.php.net Subject: Re: [PHP] delete an element from an array Date: Mon, 5 Mar 2001 10:57:49 -0500 Have a look at_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.http://www.php.net/manual/en/function.unset.php"unset" may do what you want. HTH. -- Hardy Merrill Mission Critical Linux, Inc. http://www.missioncriticallinux.com kaab kaoutar [kaab_k@hotmail.com] wrote: Hi! FIRST OF ALL THANKS ! well do u mean that the only way to remove an elemnt from an array is to copy it into another array? it does not suit me cause the array is a session variable and i need to update it ! Thanks _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net