I have a simple php shopping basket which stores the products in an array.
To add a new value into the array, I have the following:
$cart .= ','.$_GET['id'];
I was just wondering if there is an equivalent line of code to remove a single array value with a particular id??
I've been wrestling with the unset() function without much success.