JayC
Well-Known Member
dbquery("INSERT INTO groups (name,desc,badge,ownerid,created,roomid,locked,privacy) VALUES ('".$name."','".$desc."','".$badge."','".USER_ID."','".$x."','".$rid."','".$Priv."','".$Stat."')");
$rid = filter($_POST['room_id']);
$name = filter($_POST['name']);
$desc = filter($_POST['desc']);
$Priv = filter($_POST['priv']);
$Stat = filter($_POST['stat']);
$badge = filter($_POST['img']);
$x = date('j F Y h:i');
$name = filter($_POST['name']);
$desc = filter($_POST['desc']);
$Priv = filter($_POST['priv']);
$Stat = filter($_POST['stat']);
$badge = filter($_POST['img']);
$x = date('j F Y h:i');
Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc,badge,ownerid,created,roomid,locked,privacy) VALUES ('Test','Test','ES079',' at line 1
@FalseKing please help