[thelist] Q on PHP array manipulations...

Ken Schaefer ken at adOpenStatic.com
Fri Jul 9 07:54:54 CDT 2004

From: "sbeam" <sbeam at syxyz.net>
Subject: Re: [thelist] Q on PHP array manipulations...

: On Friday 09 July 2004 03:28 am, jsWalter wrote:
: > Does anyone here know if PHP has a built-in function
: > to "flip" an array?
: >
: http://us3.php.net/array_flip
: > Meaning, rows become columns and columns
: > become rows.
: arrays don't have columns or rows. They have keys
: and values.

Nit pick. I think you may be confusing associative arrays, like hash tables,
and binary search trees (which have have keys/values) with arrays. That
said, you are correct in asserting that arrays do not have "rows and


More information about the thelist mailing list