PDO::bindParam with GeomFromText
So I heard you're using PDO, so you should use bindParam to replace your parameters in your requests DQL. Now, suppose you use functions in your requests, such as GeomFromText : $query = " SELECT * FROM points p WHERE p.point = GeomFromText('POINT(:lat :lng)')"; $statement = $db->prepare($query)…