Quote:
Yesterday at 08:56 PM hellsatan said this in Post #8
Hmm it all appears to be ok...

Satan
|
Chris you are adding ' to new usergroupid here:
PHP Code:
$newgroupid = "'".intval($newusergroup)."',";
and thus making it a string, then you are trying to insert its value into database as if its an integer:
PHP Code:
'".time()."','$newgroupid','".addslashes($timezoneoffset)."',
It is not an integer anymore, it holds value:
'11',
which is a string and 's in it clashes with query string..