The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
so i have a query that updates a table:
Code:
$vbulletin->db->query("
UPDATE `" . TABLE_PREFIX . "user`
SET idle = '1'
");
i know it needs a WHERE like: Code:
WHERE userid = " . {$vbulletin->userinfo['userid']}
--------------- Added [DATE]1424926781[/DATE] at [TIME]1424926781[/TIME] --------------- Update* i have solved this with the help of this thread the answer wasnt printed out, but that article helped alot by using: Code:
WHERE userid = '" . $vbulletin->userinfo['userid'] . "' |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|