Welcome Guest, Not a member yet? Register   Sign In
array_merge() is messing with my array keys.
#2

[eluser]xwero[/eluser]
From php.net :
Quote:If only one array is given and the array is numerically indexed, the keys get reindexed in a continuous way.
instead of using array_merge you could use array_push.


Messages In This Thread
array_merge() is messing with my array keys. - by El Forum - 10-02-2008, 06:24 AM
array_merge() is messing with my array keys. - by El Forum - 10-02-2008, 06:38 AM
array_merge() is messing with my array keys. - by El Forum - 10-02-2008, 06:49 AM
array_merge() is messing with my array keys. - by El Forum - 10-02-2008, 07:03 AM
array_merge() is messing with my array keys. - by El Forum - 10-02-2008, 07:08 AM
array_merge() is messing with my array keys. - by El Forum - 10-02-2008, 07:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB