Hi brett, thanks for your help
But i would like to further understand whats going on here.
In $max .. you put a -1, why -1?
Sayian
EDIT: and i also thought the rand() function only returned integers?
If you could explain a little bit about whats going on here to help me learn id really appriciated it thanks!