hello iconic,
you have forget the $showgroup 2 times and the $cangetattatchment 1 time.
I think the corect Code is this:
if ($HTTP_POST_VARS['action']=="insert") {
$DB_site->query("INSERT INTO usergroup (usergroupid,title,usertitle,starlevel,starimg,can controlpanel,canmodifyprofile, canviewmembers,canview,showgroup,cansearch,canemai l,canpostnew,canmove,canopencl ose,candeletethread,canreplyown,canreplyothers,can viewothers,caneditpost,candele tepost,canusepm,canpostpoll,canvote,canpostattachm ent,ismoderator,canpublicevent ,canpublicedit,canthreadrate,cantrackpm,candenypmr eceipts,maxbuddypm,maxforwardp m,canwhosonline,canwhosonlineip,cangetattachment)
VALUES (NULL,'".addslashes($title)."','".addslashes($user title)."','$starlevel','$stari mg',$cancontrolpanel,$canmodifyprofile,$canviewmem bers,$canview,$showgroup,$cans earch,$canemail,$canpostnew,$canmove,$canopenclose ,$candeletethread,$canreplyown ,$canreplyothers,$canviewothers,$caneditpost,$cand eletepost,$canusepm,$canpostpo ll,$canvote,$canpostattachment,$ismoderator,$canpu blicevent,$canpublicedit,$cant hreadrate,$cantrackpm,$candenypmreceipts,$maxbuddy pm,$maxforwardpm,$canwhosonlin e,$canwhosonlineip,$cangetattachment)");
|