Yes, thanks guys, you helped alot! The new problem is that I want to use a foreach to explode() the values in the main array, for example (I changed what I was supposed to do in the original post, because I found a different way then what I said earlier): [code]<?php $words = array( "people" => "me;you;us;joe", "foo" => "bar;foo;someone;yep" ); ?> [/code] So what I want to do is turn each key name into the name of the new array and the values seperated by a ";". For example, this doesn't work: [code]foreach ($words as $key => $value) { $key = explode(";", $value); }[/code] so I want for example a new array called $foo and another array called $people with the values as "me", "you", etc..... I'm pretty sure theres a way to do this but i'm not doing it right. Any help would be appreciated!