RE: [PHP-DB] Random numbers with range in mysql?

2002-09-28 Thread John W. Holmes
> I'm trying to make "shops" that sell virtual objects. They restock once > every 15 minutes. This is all set up. The problem is, I would like to > have objects in these shops with a random chance of being restocked. My > idea is to store two numbers in the restock list: chance, and outof. > (

[PHP-DB] Random numbers with range in mysql?

2002-09-28 Thread Leif K-Brooks
I'm trying to make "shops" that sell virtual objects. They restock once every 15 minutes. This is all set up. The problem is, I would like to have objects in these shops with a random chance of being restocked. My idea is to store two numbers in the restock list: chance, and outof. (For a