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 http://games.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php