Thanks for all your help, everyone, but both
suggestions (unset and array_slice) pretty much didn't
improve on my current way. I was jsut trying to find a
faster way, but unset doesn't seem to be working
properly (but I'll need to fiddle more) and the
array_slice way is just too intensive.

for($counter = 0; $counter < count($listitems);
$counter++) {
        if($listitems[$counter] != $item)
                $newlist .= ",$listitems[$counter]";
$newlist = substr($newlist, 1, strlen($newlist));
$listitems = explode("," $newlist);

Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to