How do I sort the members of an array by value?
This takes the array as its parameter, as in sort($array).
Here's a simple example:
$myworld = array("world","hello");
Which looks a little like this:
 => hello
 => world
More arrays PHP QuestionsHow do I add to the end of an array and know how large the array is?
what are php array functions?
How do I reverse sort an array by key?
hi, i am querying the DB as follows: $result=mysql_query("SELECT name,items FROM mytable WHERE user_id='$id'"); now,i want to create an array to insert the values that are as a result of this query e'g let's say this is the resultant data: n
Hi. i have a music samples website. in one table, id like a different sample to appear every time the page is refreshed. how do i acheve this? how can i alterate and retrieve these bloody mp3's? surely i can use a PHP script? thankyou