sup, im making my rpg mod, still, and al i need now, is the where command, ive tryed tons of crap!
PHP Code:
$vbulletin->db->query_write(
"UPDATE ". TABLE_PREFIX ."thread
SET rpg_name_int = '" . $db->escape_string($vbulletin->GPC['rpg_name_int']) . "',
WHERE threadid = '" . $vbulletin->threadinfo['threadid'] . "' "
);
thats what i got so far
now, ive goten errors, and its showed me that the set command works, but, the WHERE command dosent... what do i ened to alter?
// More Info \\
Hook: newthread_post_complete
What its suposta do?: it is suposta write querys to the thread it just made..
\\ End More Info //