|
From: Iain S. <iai...@ya...> - 2000-11-22 20:13:11
|
At 11:20 PM 11/21/00 -0500, Todd L. Miller wrote: > Anyway, any ideas on this? The other idea I had was to >more-or-less brute-force it in PHP -- on every save, use the above query >to count incoming links. If it's in the top ten, store it into a >top-ten table and drop the lowest. Unfortunately, mysql is pretty weak. The best solution is as you stated, to do it in the database. However, I don't think mysql supports nested queries and definitely doesn't do stored procedures which is really what you want. So, at least with that database, you're pretty much stuck doing it brute force in php. -iain |