To be honest I've just used a version Hyperz originally posted. For the script it's not essential it's such a randomized pick as it works fine. I was just interested to know if it was possible as it would improve it slightly. Sense it's such a complicated request with such a minor improvement I've no problem admitting defeat.

Again massive thanks for all your help and replies guys. It's such a pleasure to be able to get such fast help in this in coding area rather than having to go to a dedicated coding site.
Mr Happy Reviewed by Mr Happy on . [PHP] Random Number Problem Basically I want to generate a Random number but increase the chances of lower numbers appearing more. if I just use mt_rand(1, 1000) the chances of getting the number 1 is the same as 468 which is the same as 1000. I want to increase the chances of lower numbers appearing. This poor way shows what I mean if (mt_rand(1, 2) == 1) // 50-50 chance { Rating: 5