hey confused...
I think you are mistaken on how the crud array looks....
the array isn't (red,green,blue) etc ... its more like:
(0,red),(1,green)(2,blue) etc....
so when your list($crud_a,$crud_b) goes around... $crud_a is your key and $crud_b is your value.
The loop however is fine, the problem really is that your $crud_complete = ($crud_a,$crud_b) keeps overwriting itself every time you loop around. Thus you only get one value and its key - like: 2||green
Instead, try this inside of your loop:
$crud_complete .= ($crud_b||);
The .= appends the value and a "||" to the end of the existing $crud_complete.
You might want to change the var names of $crud_a to key and $crud_b to $crud_value so that its easier to understand.
Also, at the end of the $crud_complete you'll have an extra ||
like: red||green||
so after you jump out of the loop just cut it off with a:
substr($crud_complete,0,-2);
cheers
sm