Animals, PHP and HTML:

2 04 2010

Array Manipulation

If you were going to sort an associative array by its keys rather than its values, how would you do this? With PHP there is usually more than one way to achieve a result and this holds true in this case as well. You could use two excellent array handling functions, Read the rest of this entry »


Rabbits and Numbers

2 04 2010

This is a post I’m resurrecting from my old blog because it deals with an interesting mathematical subject, Fibonacci numbers. Apparently, the acclaimed 13th century mathematician Leonardo Fibonacci applied the numerical sequence in solving a problem involving the growth of a hypothetical rabbit population. Read the rest of this entry »

%d bloggers like this: