<分区>
基于 this table来自 PHP.net:
Type specification chars Character Description i corresponding variable has type integer d corresponding variable has type double s corresponding variable has type string b corresponding variable is a blob and will be sent in packets
I write code:
$stmt = $this->conn->prepare("INSERT INTO days(day,startLocation) VALUES(?,?)");
$stmt->bind_param("ss", $day, $startLocation);
但问题是因为我在数据库中的 startLocation 字段使用类型 POINT
,所以
如何在 mysql 中使用 POINT 数据类型创建 bind_param?