How to delete array element by index
<p>Is there any possible way to delete element from array? It is shopping cart storing item IDs. I want to make delete function. </p>

<p>For example - <strong>cart_handler.php?delete=2687</strong></p>

<pre><code>array(5) { [1967]=&gt; float(1) [1966]=&gt; float(1) [2233]=&gt; float(5) [2687]=&gt; float(1) [2081]=&gt; float(4) } 
</code></pre>