Hi all,

I have a small problem i hav an array like this: Array ( [0] => Company Group [1] => My golden dreams [2] => Testgroup Closed [3] => testgroup Invite )

But I want it only like this Company Group, My golden dreams, Testgroup Closed, testgroup Invite.

How can I do this?

Warm regards from cologne

Dirk

Comments

zeta ζ’s picture

Instead use:

 foreach ($My_array as $field) {
  print $field . ', ';
} 

___________________
It’s in the detaιls…

demonstration portfolio

designwork’s picture

Hi zeta,

thanks for the reply. I solved my problem. I need the array for a from type select. So I just changed the array key to something more use full for me.

Dirk