|
|
![]() |
PHP ksort
Definition and Usage The ksort() function sorts an array by the keys. The values keep their original keys. This function returns TRUE on success, or FALSE on failure. Syntax ksort(array,sorttype) array : Required. Specifies the array to sort sorttype : Optional. Specifies how to sort the array values. Possible values: * SORT_REGULAR - Default. Treat values as they are (don't change types) * SORT_NUMERIC - Treat values numerically * SORT_STRING - Treat values as strings * SORT_LOCALE_STRING - Treat values as strings, based on local settings <?php
The output of the code above will be: Array
[Buzz]
[Discussions]
[Seo forums]
[Meet people]
[Directory]
[Last posts] [Games online] [Register] [Help] [About] |
|
ADVANSTARTECH FICGS is also a Free Internet Correspondence Games Server, where you can play chess online for free in rated class tournaments and a unique correspondence chess world championship.
Feel free to link to FICGS to get referer links. The real danger is not that computers will begin to think like men, but that men will begin to think like computers. (Sydney J. Harris) |