RE: [PHP] Removing a row from an Array
| From: | Jay Blanchard | Date: | Mon, 04 Jun 2007 19:25:16 +0000 |
| Subject: | RE: [PHP] Removing a row from an Array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-256057@lists.php.net to get a copy of this message | ||
[snip]
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)?
[/snip]
http://us2.php.net/manual/en/function.array-pop.php