2004/7/15 12:07
andersa
Just popping in
Posts: 45
Since: 2004/5/27
$member_handler =& xoops_gethandler('member'); $result = $member_handler->removeUsersFromGroup(4,array($xoopsUser->getVar('uid'))); $member_handler->addUserToGroup(5,$xoopsUser->getVar('uid'));
2004/7/15 12:47
Dave_L
XOOPS is my life!
Posts: 2277
Since: 2003/11/7
error_reporting(E_ALL); echo is_object($xoopsUser) ? 'xoopsUser IS defined' : 'xoopsUser is NOT defined';
2004/7/15 12:52
ackbarr
Posts: 1449
Since: 2002/10/2
2004/7/15 19:35
2004/9/11 0:05
bluwu
Posts: 26
Since: 2004/6/29
ackbarr wrote:these calls fail because the XoopsMySQLDatabaseSafe::Query() function will only perform an insert, update, or delete query when called from a POSTed form. If you turn on MySQL debugging you should see those queries flagged in red.
2004/9/11 0:26
2004/9/11 0:50
ackbarr wrote:XoopsMySQLDatabaseSafe::QueryF() will work without a form, it forces the query to run, bypassing the safety checks.
2004/9/11 1:02
2004/9/14 23:57
Advanced Search
324 user(s) are online (63 user(s) are browsing Support Forums)
Members: 0
Guests: 324