The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help combinding 2 mysql queries
The first query is the most important one. I'm only using the 2nd query to get a count...
PHP Code:
PHP Code:
|
#2
|
||||
|
||||
I think you need to move the variable $ingame from the second query out of the double quotes like so:
PHP Code:
|
#3
|
|||
|
|||
Quote:
Both queries work, I am just looking to combind then into 1 query. Is it even possible considering that the value for $ingame comes from the first query? |
#4
|
||||
|
||||
first of all
the doublequoete are irrelevant in that context second: i don't really get the sense of the second query, you say you want to count member with the same valuie of field 19, but there is no count function in the query, so? are you running the second query within a loop or what? because soley combining a normal and a count query isn't possible, but if you tell us a bit more, maybe an optimization would be possible |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|