As far as I know there isn't such a function, what I do to achieve this: 1. find the position of the element you want to remove 2. slice the array into 2 arrays one contains all elements before this and one contains all elements below this, 3. use shift to remove appropriate element 4. merge both arrays back. Do you want the code? > I've been checking the PHP documentation, but can't > find a function that will delete a member of an array, > like such: > > $a = array(1, 2, 3, 4, 5); > > Use the function, say array_delete($a, 3); and that > will delete the third member in the array (which would > be 4 above), so that the array would contain 1, 2, 3, > 5. > > Is there such a function? > > __________________________________________________ > Do You Yahoo!? > Yahoo! Games - play chess, backgammon, pool and more > http://games.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >
-Pushkar S. Pradhan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php