Posted by mosesdinakaran@gmail.com on 10/16/06 11:07
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
Navigation:
[Reply to this message]
|