Randomizing array?

admin

Administrator
Staff member
Greetings,

I'm drawing a blank on randomizing querry results from mySQL and could use some input.
I want to do simple searches, but have the results displayed in different order every time.
EX:
If a user searches for "Tomatoe" "worms" and "rotted", all the matching keys from the table "Tomatoes" will be displayed as a list. If another user performs the same search, the returned information is the same, but the order in which they are listed changes.

Any help would be greatly obliged.
 
Back
Top