Thanks, that's a great start!
Say I have the following array:
$affiliations = array(
'Bill,Microsoft,Redmond,USA',
'Larry,Microsoft,Redmond,USA',
'Francois,Vivendi,Paris,France'
);
I am looking to output the following:
Bill(1), Larry(1), Francois(2)
(1)Microsoft,Redmond,USA; (2)Vivendi,Paris,France.
How can I modify your code to do this. I really apologize for asking this but I'm totally confused when it comes to arrays... 🙁