Well, my php knowledge is fairly limited. Like I said in the initial post, I've only used it to do some simple form handling before and really haven't delved into the writing of functions yet.
With that said I did know anout the mt_rand(1,10), but I'm not sure how to write it so that you can have the function run a specific number of times.
Say I want to have it roll 3 dice - How would I get it to loop so I get 3 seperate values rather than a total?
I'm fairly confident that I can butcher my way through the coding eventually, it's the auto updating table I have not clue 1 how to manage. Any pointers there would be greatly appreciated.