|
|
![]() |
PHPDiscussing PHP development related topics...PHP rsort replies : 0 2008-08-02 PHP sort replies : 0 2008-08-02 PHP arsort replies : 0 2008-08-02 PHP asort replies : 0 2008-08-02 PHP krsort replies : 0 2008-08-02 PHP ksort replies : 0 2008-08-02 Display archives , all threads. Follow the news in the forum ![]() Last post in this thread : moderator (2008-08-02 12:46:37) PHP rsort Definition and Usage The rsort() function sorts an array by the values in reverse order. This function assigns new keys for the elements in the array. Existing keys will be removed. This function returns TRUE on success, or FALSE on failure. Syntax rsort(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
[Seo forums]
[Directory]
[Buzz]
[Meet people]
[Last posts]
[Games online] [Register] [Membership] [Links] [Help] [About] |
|
|
Feel free to link to FICGS to get referer links or to see your Google PageRank on your website. You may also buy, sell or exchange text link ads in the Coop advertising network. ADVANSTARTECH FICGS is also a Free Internet Correspondence Games Server, here you can play chess online for free in rated class tournaments, two players matches and a unique correspondence chess world championship in a big knockout tournament. We also organize special events, thematic chess tournaments, chess 960, big chess, Go (weiqi) and tournaments with money prizes.
Post-it : What are you doing now ? Fame, I have already. Now I need the money. (an elderly Steinitz) |