Is there a way in php to remove elements in an array and then reindex the remaining elements? For example, here is what I want to do. In an array,
$a = array("a","b","c");
I want to delete element "b", I used unset() to do that leaving the array like ("a",null,"c"). What I really want is make the array ("a","c") after deleting "b". How can I do that? Thanks!