Mike
05-27-2005, 01:52 PM
Hi all.
I'm currently doing a project which involves giving "weight" to a row in a database. Basically, the more weight the row has, the more times it will be picked.
The problem, I don't know how to do what I've just said. First I was thinking about using rand(), but then realised it wouldn't really work with that.
I have run out of ideas, anyone know what I could do?
Cheers,
Mike
I'm currently doing a project which involves giving "weight" to a row in a database. Basically, the more weight the row has, the more times it will be picked.
The problem, I don't know how to do what I've just said. First I was thinking about using rand(), but then realised it wouldn't really work with that.
I have run out of ideas, anyone know what I could do?
Cheers,
Mike