$ sql是发现错误的地方,但我无法找到解决方案 可以任何身体帮助我解决这个问题
//将数据插入数据库
$ sql =" INSERT INTO user(user_country,travel_members)VALUES(:country,:members)WHERE user_id =' $ _ SESSION [' user_session']'" ;
$query = $DB_con->prepare($sql);
$query->bindparam(':country', $country);
$query->bindparam(':members', $members);
$query->execute();