Scott Fletcher wrote:
Um, let's see, what would be the way to go in sorting the dual array

--snip--
 $_FILES['userfile']['name']
$_FILES['userfile']['type']
$_FILES['userfile']['size']
$_FILES['userfile']['tmp_name']
$_FILES['userfile']['error']
--snip--

where $_FILES['userfile']['name'] would be in ascending abc order while all
other like $_FILES['userfile']['type'], $_FILES['userfile']['size'], etc...
would be correctly be side-by-side with the $_FILE['userfile']['name'] in
that order?

$file = $_FILE['userfile'];

$file = array_multisort($file['name'], SORT_ASC );

Is that right??

THanks,
 Scott
try it, the you won'y have to ask ;)

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



Reply via email to