Jump to content

[SOLVED] Make Array Keys Simultanious


fanfavorite

Recommended Posts

I am trying to make my array keys simulanious.  For example:

 

Current Array:

 

[0] => Some Value
[4] => Some Value2
[6] => Some Value3

 

Change To:

 

[0] => Some Value
[1] => Some Value2
[2] => Some Value3

 

I believe I have done this before, but can't remember or find anything that tells me how to do this.  Any help is appreciated. 

 

Thanks,

 

-JC

Link to comment
https://forums.phpfreaks.com/topic/108042-solved-make-array-keys-simultanious/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.