Assigning Array with literal string index to an array with numeric index
Posted
by anita
on Stack Overflow
See other posts from Stack Overflow
or by anita
Published on 2010-05-19T13:53:45Z
Indexed on
2010/05/19
14:00 UTC
Read the original article
Hit count: 261
How to Assign an Array with literal string index to an array with numeric index. [IN PHP]
Both have the same length...for example
Literal >>> array(HELL0=>somevalue1,BYE=>somevalue2) Numeric index >> array(1=>somevalue1,2=>somevalue2) [Expected result in second array]
Both have same length / count of values 2.
Pls help ASAP Anita
© Stack Overflow or respective owner