I've fought long and hard over the last 5 or so hours to make php output an image, something that I knew I could do, but never knew how. I've bodged the following together that will (eventually once I get a little more experience) be automatically updated each time a new match is submitted so that it can be used (and hopefully look a little more presentable) to post on the forums to show the current scores.
visitors can't see pics , please
register or
loginAs you can tell, it's quite scrappy, but as I get better with it, I will be able to output graphs on the fly (much like the fabled Harald does) so you can have a graphical representation of the statistics that I want to allow people to access. This wasn't on the list but I thought that it would be a nice thing to "wind down" with last night and I ended up finally crawling into bed at 5am missing half my hair.
EDIT: I manage to get it automatically update each time the results page is loaded by someone (which should happen when someone confirms a score) but I should be shot for the coding practice that I employed in achieving it. No one in their right minds would think it to be a good way of doing it, but I can't get it to work any other way as of yet. I think I need to fiddle around with the VPS but for now, it works and that's all that matters at this point, just remind me to change it once the whole thing is working!