>>I have tried basically copying and pasting this, and adding a foreach >>loop. Inside this foreach loop, the array is split apart and I tried >>using unnset, but I couldn't get it to work, so I deleted the code. > >unset ($array[$index]) > >http://uk.php.net/unset
There are examples in the manual, but as you've already tried unset, I guess I should be explicit: <? $a = array ('a', 'b', 'c', 'd', 'e'); print_r ($a); unset ($a[2]); print_r ($a); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php