What's that function?
Posted: Wed Mar 08, 2006 6:07 pm
I'm sufferring I bad case of mental block. I need the PHP function that will order my keys in a normal numeric order. For instance:
$array[0] = "stuff"
$array[2] = "stuff1"
$array[3] = "stuff2"
$array[5] = "stuff3"
and I need
$array[0] = "stuff"
$array[1] = "stuff1"
$array[2] = "stuff2"
$array[3] = "stuff3"
Thanks. Sorry to litter the board with this.
$array[0] = "stuff"
$array[2] = "stuff1"
$array[3] = "stuff2"
$array[5] = "stuff3"
and I need
$array[0] = "stuff"
$array[1] = "stuff1"
$array[2] = "stuff2"
$array[3] = "stuff3"
Thanks. Sorry to litter the board with this.