I got sidetracked today playing with Magic Squares and thought it
might be a good chance to give an example of using MySQL Routines
, Loops and IF checks.
So If you are unaware of what a Magic Square is I have included a
few links. It might save you a Google search but otherwise think
Sudoku as an example.
- http://en.wikipedia.org/wiki/Melencolia_I
- http://en.wikipedia.org/wiki/File:Albrecht_D%C3%BCrer_-_Melencolia_I_%28detail%29.jpg
- http://www.mathematische-basteleien.de/magsquare.htm
- …