note 37593 added to function.array-slice
| From: | cedric002 at hotmail dot com | Date: | Thu, 20 Nov 2003 12:20:48 +0000 |
| Subject: | note 37593 added to function.array-slice | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-60684@lists.php.net to get a copy of this message | ||
//the correct syntax for removing one item from an array with array_splice is:
array_splice($array, 3, 0);
// remove an item at the position 3 of the array $array
----
Manual Page -- http://www.php.net/manual/en/function.array-slice.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37593
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37593&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37593&report=yes
Search -- http://master.php.net/manage/user-notes.php