PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
i have an array like this :
(
(1,33,"xcfd",45,"sdfsdf"),
(321,314,"xcfd",1,"yre")
}
and i want to sort this array's by the 4th key of each array
so in the first array the value is : 45 amd i nthe second array is 1 !!!!
and the result should give the second array as first and the first array as second
how do i do that?thnaks i nadvance
peleg
hi patrikG i did so
and i tried to use there code to sort by an index that is a number and not a string and it didnt work
any idea?
thnaks in advance
peleg