My big problems are:
- to find appropriate font that displays well with any background
- to find appropriate placeholders for every possible texts + pictures (games with 7 diff countries + GRAND TOTAL and demos with 3 diff countries + GRAND TOTAL).
- to mix all of this in beautiful picture(s)
For the php code, getting data from mysql tables and making images with GD library is not really a problem. imagepng is the function to save as png file for example.
Thanks for the help you will be able to provide