The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PHP plugin SQL query running multiple SET lines?
I'm trying to run a SQL query code:
Code:
{ $vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "user SET usergroupid = x WHERE usergroupid = x"); } Code:
{ $vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "user SET usergroupid = 10, displaygroupid = 1 WHERE usergroupid = 6"); } Side question. If anyone has a better idea how to include the code so the usergroup, eg changes are being logged in to the users history through admincp, please let me know. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|