sandy1028 Posted July 23, 2007 Share Posted July 23, 2007 Hi, array_multisort($mobile, SORT_ASC, $text_array); How to convert the string value to integer value . The sort is the order as string value.. 4563423 45435462434 623765457657 4568678643557 But I want the numbers from ascending order of integer value Quote Link to comment Share on other sites More sharing options...
btherl Posted July 23, 2007 Share Posted July 23, 2007 The SORT_NUMERIC option should do the trick.. http://sg2.php.net/manual/en/function.array-multisort.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.