[mapserver-users] RE: php/sql quote problem (solution)

Twan Kogels twan at twansoft.com
Tue Dec 11 09:00:39 EST 2001


I'm feeling a bit stupid, most of the time i submit a question to this 
mailing list and later on i find the answer myself :-)

With a lot of trying i have found the error, the correct sql query is:

$sql="insert into popplace_table (name, the_geom) values ('$stadnaam', 
GeometryFromText('MULTIPOINT($geox $geoy)', -1))";

It is working perfect!

- Twan

-- 
http://www.twansoft.com 




More information about the mapserver-users mailing list