Answer the question
In order to leave comments, you need to log in
How to sort multidimensional associative array in PHP?
I have an array like
$flats[0] = array("rooms"=>"3", "price"=>"1500", "url"=>"http://vk.com");
$flats[1] = array("rooms"=>"1", "price"=>"300", "url"=>"http://vk.com");
$flats[2] = array("rooms"=>"2", "price"=>"300", "url"=>"http://vk.com");
$flats[3] = array("rooms"=>"3", "price"=>"700", "url"=>"http://vk.com");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question