Re: [PHP] delete from array

2003-03-10 Thread CPT John W. Holmes
> Not sure if there is a function that I missed when I did a search on this > at php.net, but here is the situation: > > I have an array that looks something like this: > 12:00:00 > 12:05:00 > 12:10:00 > 12:15:00 > > Bascially, it just has all times in it for a day in 5 minute > increments. This i

RE: [PHP] delete from array

2003-03-10 Thread Johnson, Kirk
>How do I delete a specific time out of the array or > how do I delete > a range of times out of the array? I would like to be able to delete > 12:05:00 but if I want, delete a range like 12:05:00 to > 12:10:00. Here's some code. Kirk function remove_array_values($valuesToRemove, $array) {