I have this array:
Array ( [0] => Post Slider [1] => Post Slider Wide [2] => Post Slider )
And this second array:
Array ( [0] => Tools Sliders [1] => Tools Sliders [2] => modules-test )
When I use the PHP function array_combine, it does not include the duplicates, like this:
Array ( [Post Slider] => modules-test [Post Slider Wide] => Tool Sliders )
I'm confused how to get a desired result like this (without stripping the duplicates, complete one to one relationship):
Array ( [Post Slider] => Tools Sliders [Post Slider Wide] => Tools Sliders [Post Slider] => modules-test)
I would appreciate any help and tips..
Regards, Codex
echo $array["Post Slider"]to output?