I want to invert my array, can I do this?
$values = array("Fred","Bob","George");
$values = array_flip($values);
 => Fred
 => Bob
 => George
[Fred] => 0
[Bob] => 1
[George] => 2
More arrays PHP QuestionsOK I've been trying to echo out the arrays "$people and $other people" using the for-each method in alphabetical order. but when i see what this displays it does it in some other order. THIS IS THE CODE PHP Ch8 Lab
How do I count the number of times a value appears in an array?
How do I reverse sort the members of an array?
How do I reverse the order of the elements in an array?
when i fetch the record in the database but they skip first record in the database