joined:Jan 6, 2006
Can anybody suggest in the following case:
How to remove an element from an index array and reseting its indexes?
[PHP]$array = array('x', 'y', 'z',..);
print_r($array); // results: 0 => x, 2 => z ,which doesn't reset the indexes
// I would like to have the result as : 0 => x, 1 => z , ie rearraning the indexes[/PHP]
How to accomplish this ?
Thanks in advance for the suggestions.