It's amazing how many little (and not so little) new programs and demonstrations I write - here are some from the last couple of days:

• The Melksham / Bowerhill Christmas Quiz, 2007. Ten questions, work out the answers, click on a link at the bottom the page and it will be refreshed to tell you the actual results. Uses a data file of questions - would work equally well for Skegness, St Anne's or Aberdovey!

• Sorting an Associate Array - and how User Defined Sorts work in PHP. The business of a callback function is quick a new concept to many of our customers, and this demonstration shows how it works ... complete with print statements within the comparator to help explain the algorithm.

• Sorting a regular array in PHP - forward, backward, and in a user defined way using a date that's embedded in the line. This demonstration program also shows you how to extract a date and time from a line of data using regular expressions, to convert it to a standard time format (that can be compared, sorted, etc) and then convert it back into a text form that's human or database readable.

This is a page archived from The Horse's Mouth at
http://www.wellho.net/horse/ -
the diary and writings of Graham Ellis.
Every attempt was made to provide current information at the time the
page was written, but things do move forward in our business - new software
releases, price changes, new techniques. Please check back via
our main site for current courses,
prices, versions, etc - any mention of a price in "The Horse's Mouth"
cannot be taken as an offer to supply at that price.