Hi
Can someone tell me if there is a function that will help me with the following scenario?
$breakfast[1]="sausages";
$breakfast[2]="eggs";
$breakfast[3]="bacon";
$breakfast[4]="heart_failure";
I need to remove an element, say $breakfast[2] and have the rest of the array 'keys' move down one like this;
$breakfast[1]="sausages";
$breakfast[2]="bacon";
$breakfast[3]="heart_failure";
I can probably build something to do it but although I can't find a pre-built function I'm sure there is one!
Cheers
Nick