Join query for optimization?
I'm trying to make so siggy.php (function getcurrentimage($id)) uses one join query.
Now, this query has been tweaked and tweaked and tweaked, but it gets too many rows from the db. My original query worked fine if it wasn't an egg, but if it was (level=0) then it selected nothing at all. PHP Code:
|
RE: Join query for optimization?
The query is wrong. You are selecting from multiple tables.. but not telling it what to look for in what table.
FROM ".$prefix."owned_adoptables AS a JOIN PHP Code:
Sea |
RE: Join query for optimization?
Thank you! :) I had gotten around it by adding a level 0 for each adoptable, but this will do much better. x3
|
All times are GMT -5. The time now is 01:58 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.