modify array data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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  |       | kim|
|      |joe|         |jim   |      |
|      |     | sally |        |     |

is there an easy way to do this?
the data and arraysize will vary so I was looking for a way that I could
have php do it without having to make script for different array sizes.

Thanks

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux