Quote:
Originally Posted by Andrew
I think you need to move the variable $ingame from the second query out of the double quotes like so:
PHP Code:
$ingame = mysql_result($TheTopQuery, 0, 7);
$custom = $db->query_read("
SELECT field19
FROM userfield
WHERE userfield.field19 = " . $ingame . "
ORDER BY userid DESC
");
|
Thanks... but somehow the query works as needed without the double quotes.
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?