A PHP Error was encountered

Severity: Notice

Message: Undefined index: id

Filename: controllers/encuentradonde.php

Line Number: 1077

A PHP Error was encountered

Severity: Notice

Message: Undefined index: table_name

Filename: controllers/encuentradonde.php

Line Number: 1078

A PHP Error was encountered

Severity: Notice

Message: Undefined index: geometry_column_name

Filename: controllers/encuentradonde.php

Line Number: 1079

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.id from where MBRIntersects(ST_GeomFromText('POLYGON ((112.911057 -43.64397, 1' at line 1

select .id from where MBRIntersects(ST_GeomFromText('POLYGON ((112.911057 -43.64397, 153.639252 -43.64397, 153.639252 -10.062805, 112.911057 -10.062805, 112.911057 -43.64397 ))'),)

Filename: /home/l4m_sysadmin/www/sexo-casual.net/models/poimodel.php

Line Number: 371