I can\'t seem to find where documented to successfully prepare a statement that uses the POINT data type.
This previous question (How to use POINT mysql type with my
Try like below;
$stmt = $this->conn->prepare("INSERT INTO days(day,column_name) VALUES(?,POINT(?,?))"); //column_name is name of of column that you want to insert POINT(lat,lon) $stmt->bind_param("sdd", $day, $lat, $lon); $stmt->execute();