The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Combining 3 queries
I have 3 queries that are pretty much the same, each one just gets the total amount of rows that match a certin criteria. But I'm wondering if there is a way to merge the 3 queries into 1, this is the code I'm using:
PHP Code:
|
#2
|
|||
|
|||
PHP Code:
regards, g-force2k2 |
#3
|
||||
|
||||
I'll let you know when I fix this new issue...
[warn] getsockname *sigh*, tried re-installing but apache still hates me. Can't load any pages *shrug*.. just get that error. But thanks for your help. |
#4
|
|||
|
|||
hmm... perhaps search for phptriad it auto installs apache and mysql and has worked for me...
sorry but i don't know much about apache configuration... regards, g-force2k2 |
#5
|
||||
|
||||
It ended up that bootvis was making a log file that just kept growing :/ I had no diskspace left, and that was causing the problem. But other than that the ); following the actual query shouldn't have been there, it caused an error.
I removed it and it works great. Thanks alot for the help, I've taken a look at that code and gone ahead and applied it to my other queries. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|