How do you loop through clients to upload a template

Using PHP . . .

I know how to get all clients. I know how to upload a template to a specific client using the API. But could someone give me the proper code to upload a specific template to all client accounts via the API. I presume it's some kind of looping through the $result but I don't know exactly how to do it.

thanks

200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free
1-888-533-8098