Ok, I have removed my php code which wasn't ok and rephrase what I'm looking for. Here I go...
Can I combine two arrays in 1 associative array?
$a = array("11", "22", "111");
$b = array("50", "30", "20");
I want both arrays to be combined in a new associative array as folows:
$appended = array ("11" => "50", "22" => "30", "111" => "20");
So, what I want to do is put the key from variable "$a" and the value from variable "$b"...