|
|
![]() |
PHP asort
Definition and Usage The asort() function sorts an array by the values. The values keep their original keys. This function returns TRUE on success, or FALSE on failure. Syntax asort(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
Related posts & websites : moderator (2008-08-02 12:15:57) PHP krsort Definition and Usage The krsort() function sorts an array by the keys in reverse order. The values(...) moderator (2008-08-02 12:10:15) PHP ksort Definition and Usage The ksort() function sorts an array by the keys. The values keep their orig(...)
[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. Employ the attack like tactic of defense. (Chinese proverb) |