Re: Removing a row from an Array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can't you just unset() the values you don't want?

Ken Kixmoeller -- reply to ken@xxxxxxxxxxxxxx wrote:
> Hey - - - - - - --
> 
> To do this, I am:
> 
>  - looping through the array
>  - copying the rows that I want to *keep* to a temp array, and
>  - replacing the original array with the "temp' one.
> 
> Seems convoluted, but I couldn't find any function to remove a row of an
> array. Am I missing something (other than a few brain cells)?
> 
> thanks - - -
> 
> Ken

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux