Hi All,
Have a look at the following code
$test = explode('-','one-two-three-four-five');
print_r($test);
Output:
Array
(
[0] =one
[1] =two
[2] =three
[3] =four
[4] =five
)
But What I need is
Array
(
[one] =one
[two] =two
[three] =three
[four] =four
[five] =five
)
Any Help Please........
regards
moses
Have a look at the following code
$test = explode('-','one-two-three-four-five');
print_r($test);
Output:
Array
(
[0] =one
[1] =two
[2] =three
[3] =four
[4] =five
)
But What I need is
Array
(
[one] =one
[two] =two
[three] =three
[four] =four
[five] =five
)
Any Help Please........
regards
moses
Comment