What do you mean a "live" search?
Right now I don't know a good way to sort the links randomly, meaning, randomly sorted each time they are called.
If you _really_ want to do something randomly, one way would be to set up a field in the links record called "random_order" and before you generate your database, run through the database, and assign that field a random value. That will change the value in every link, prior to each run-through, so when you select the links, and your sort order is "random_order ASC" your links will be ordered in that way.
You might be able to do it with:
UPDATE Table Links set random_order = RAND(UNIX_TIME)
Run at the begining of nph_build in the initialization area.
Doing it before _each_ SELECT statement would impose a _major_ performance hit, but it would change the order of the links in each and every page/category ....
------------------
POSTCARDS.COM -- Everything Postcards on the Internet
www.postcards.com LinkSQL FAQ: www.postcards.com/FAQ/LinkSQL/