![]() |
PHP plugin SQL query running multiple SET lines?
I'm trying to run a SQL query code:
Code:
{ Code:
{ 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. |
UPDATE `user` SET `usergroupid`='10', `displaygroupid`='1' WHERE (`usergroupid`='6')
|
This appears to be working:
Code:
{ |
Quote:
Leaving any of the columns with any empty value will cause an error |
Not all columns accept null/empty values, but you can set a column to empty by just using an empty string as follows: somecolumn = ''
|
All times are GMT. The time now is 12:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|