[thelist] Q on PHP array manipulations...

jsWalter jsWalter at torres.ws
Fri Jul 9 02:28:34 CDT 2004


Does anyone here know if PHP has a built-in function to "flip" an array?

Meaning, rows become columns and columns become rows.


  1234567890    ==>    1111111111
  1234567890           2222222222
  1234567890           3333333333
  1234567890           4444444444
  1234567890           5555555555
  1234567890           6666666666
  1234567890           7777777777
  1234567890           8888888888
  1234567890           9999999999
  1234567890           0000000000

Thanks

Walter




More information about the thelist mailing list