Gossamer Forum
Home : General : Databases and SQL :

Randomize MySQL Rows

Quote Reply
Randomize MySQL Rows
Hello,

I am trying to reorder the rows in a MySQL database. A typical row withing the DB looks like
ID,CATEGORY,URL

There are a few hundred URLs in each category, each with a unique ID. Surfers will see the links in order according to their ID number. I'd like to assign the URL to another ID number within the same category. Is this possible using MySQL commands or will I have to do some kind of crazy array manipulation? Any ideas would be most appreciated.
Subject Author Views Date
Thread Randomize MySQL Rows BennyHill 6022 Jul 23, 2002, 6:27 PM
Thread Re: [BennyHill] Randomize MySQL Rows
sponge 5877 Jul 24, 2002, 3:37 PM
Thread Re: [sponge] Randomize MySQL Rows
BennyHill 5852 Jul 25, 2002, 8:49 AM
Post Re: [BennyHill] Randomize MySQL Rows
Aki 5769 Jul 25, 2002, 8:53 AM