$sql2 = "insert into user_js(userId, jsId) values('$userId', '$jsId')";
上面的双引号如果改成单引号必然插入失败
?$sql = 'update js set positive = positive + 1 where jsId = ' . $jsId;
日期:2014-05-16 浏览次数:20735 次
$sql2 = "insert into user_js(userId, jsId) values('$userId', '$jsId')";
上面的双引号如果改成单引号必然插入失败
?$sql = 'update js set positive = positive + 1 where jsId = ' . $jsId;