List,
    Suppose you have an array in PHP like

$ar = array("a", "b", "c", "d", "e", "f", "g");

Now say you want to remove the 3rd item

unset($ar[2]);

All good?  Not really...the array doesn't get shifted down, how could one
pull that off (or should I spin the array and recreate without the undesired
values?

/B


David Busby
Systems Engineer
[EMAIL PROTECTED]



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to