Group.php fehler

Denno93
hallo,wenn ich eine neue Gruppe erstellen will steht das ne fehlermeldung es scheind als währe uin den script was falsch is tda en komma falsch oder was?

$db->query("INSERT INTO bb".$n."_groups (groupid,title,canviewboard,canviewoffboard,canusesearch,canusepms,canstart
topic,canreplyowntopic,canreplytopic,canpostwithoutmoderation,caneditownpos
t,candelownpost,cancloseowntopic,candelowntopic,caneditowntopic,canpostpoll
,canvotepoll,canuseavatar,canuploadavatar,canratethread,canviewmblist,appen
deditnote,avoidfc,ismod,issupermod,canuseacp,maxpostimage,maxsigimage,maxsi
glength,allowedavatarextensions,maxavatarwidth,maxavatarheight,maxavatarsiz
e,maxusertextlength,canviewprofile,canviewcalender,canprivateevent,canpubli
cevent,canrateusers,canwarn, canbewarned)
VALUES (NULL,'".addslashes($title)."','$canviewboard','$canviewoffboard','$canuses
earch','$canusepms','$canstarttopic','$canreplyowntopic','$canreplytopic','
$canpostwithoutmoderation','$caneditownpost','$candelownpost','$cancloseown
topic','$candelowntopic','$caneditowntopic','$canpostpoll','$canvotepoll','
$canuseavatar','$canuploadavatar','$canratethread','$canviewmblist','$appen
deditnote','$avoidfc','$ismod','$issupermod','$canuseacp','".intval($maxpos
timage)."','".intval($maxsigimage)."','".intval($maxsiglength)."','".addsla
shes($allowedavatarextensions)."','".intval($maxavatarwidth)."','".intval($
maxavatarheight)."','".intval($maxavatarsize)."','".intval($maxusertextleng
th)."','$canviewprofile','$canviewcalender','$canprivateevent','$canpublice
vent','$canrateusers','$canuploadattachments','$candownloadattachments','$a
llowedattachmentextensions','$maxattachmentsize','$maxattachments','$pn_can
uploadattachments','$pn_maxattachmentsize','$pn_maxattachments''$canwarn','
$canbewarned')");
NTVB
Ja, es wird am Komma liegen...

Wie immer bei dir ...
Denno93
ist ja witzig irgendwie kannst du mir mal an welcher stelle pls sagen danke währe nett großes Grinsen
NTVB
Find ich net sorry großes Grinsen
Denno93
kann mir pl jemand anderes helfen?
bam313
Hallo,

sieh dir das einmal an:
code:
1:
'$pn_maxattachments''$canwarn',


LG bam