Quote:
Originally Posted by ragtek
you don't run the query  quote_sql is a string and not a query!
PHP Code:
$result = $vbulletin->db->query("query"); // and not $query = "query"); fetch_array($query); // ;)
try this:
PHP Code:
$quote_sql = $vbulletin->db->fetch_first("select .....); //fetch first because you got just one result back;)
and then you should have your things in $qute_sql
|
Oh, ROFL! That's what I get at coding at 3AM. Thank you.
EDIT: Works perfectly now, thanks!

(FYI - the command is query_first, not fetch_first)