We're using SugarCRM to process leads that come in for clients, but would like to cycle through the clients so that the leads are distributed evenly. I suspect it will be just cycling through an array for each new lead that comes in, so I wanted to know how you could cycle through an array using PHP, so that each load prints a new value. I saw this similar question (PHP Cycle through array. Move the first element to the last), but wasn't sure how to repeat it after it had resolved once.
Thanks for your help!