RE: [PHP] modify array data

2005-04-26 Thread Jay Blanchard
[snip] I am wanting to rotate the array 45 degrees. "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, April 22, 2005 8:46 am, Jon Aston said: > > Is there a way to easily rotate array data? > > > > what I want to do is > > change from > > > > bob | bill | frank

Re: [PHP] modify array data

2005-04-26 Thread Jon Aston
I am wanting to rotate the array 45 degrees. "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, April 22, 2005 8:46 am, Jon Aston said: > > Is there a way to easily rotate array data? > > > > what I want to do is > > change from > > > > bob | bill | frank > > j

Re: [PHP] modify array data

2005-04-22 Thread Richard Lynch
On Fri, April 22, 2005 8:46 am, Jon Aston said: > Is there a way to easily rotate array data? > > what I want to do is > change from > > bob | bill | frank > joe | jose | sam > sally | jim | kim > > to > | | | frank|| | > | |bill | | sam| | > |bob| | jose

Re: [PHP] modify array data

2005-04-22 Thread Brent Baisley
Well, it's just a matter of coming up with the formula for converting your data. I briefly tried to come up with one, but gave up after I realized there would not be a "center" data piece if you have a 4x4 array or any even number array for that matter. I would right down the array positions for