我正在尝试让我的php脚本输出我的mysql数据库中的行名。我知道问题出在长>= '$Slong‘上。数据库中的长值是一个浮点型。Slong值设置为1.11,并且有一行的long值为1.21。我认为这就是问题所在:$result = mysql_query("SELECT name FROM locations WHERE age < '$age' AND aTime =
request->getBody());
$sql = "INSERT INTO mymo_moment (profile_id, description, media, locationName, lat, longaccess violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQLserver version for the right syntax to use near '<em