without foreach, how can i turning an array like the following
array("item1"=>"object1", "item2"=>"object2",......."item-n"=>"object-n");
to a string like this:
item1='object1', item2='object2',.... item-n='object-n'
i thought about implode() already, but it doesn't implode the key with it...
if foreach it necessary, is it possible to not nest the foreach?
my solution used nested foreach which is not what i wanted
EDIT: i've changed the string