delete elements in an array and adjust index
<p>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, </p>

<pre><code>$a = array("a","b","c");
</code></pre>

<p>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!</p>
