2016-10-15, 07:26 AM
Hi,
when posting, I want to change value 'sid' into 'sid+1' whrere pid>200,
so, I added this code in 'inc/datahandlers/post.php'
but it dosen't work..
error : VM8094:1 Uncaught SyntaxError: Unexpected token
What should I do?
when posting, I want to change value 'sid' into 'sid+1' whrere pid>200,
so, I added this code in 'inc/datahandlers/post.php'
$sql = "UPDATE posts SET sid=sid+1 WHER pid>200";
$db->query($sql);
but it dosen't work..
error : VM8094:1 Uncaught SyntaxError: Unexpected token
What should I do?