Tuesday, June 8, 2010

Re: Query Help

On Jun 8, 8:59 pm, Harry Osoff <harry.os...@gmail.com> wrote:
> http://1537news.com/Search_XML.php?lat=41.7917833366732&lng=-87.59100...
>
>  I started with the Google example of a store locator and want to add
> the ability to search by store category
> but nothing I have tried today will make the query ...Query.
>
> Any suggestions?


Did you look at what that returns?
Invalid query: 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 'WHERE type= Bank AND ( 3959 *
acos( cos( radians('41.7917833366732') ) * cos( ra' at line 1

It looks to me like you have a single quote problem. But I can't see
the code.

-- Larry

>
>  Harry Osoff
> Web Development
> 1537News.com

--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate