RE: [PHP-DB] mysql field not resolving comaparison condition for zip code locator

2003-09-23 Thread Jennifer Goodie
al Message- > From: AdminHMO [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 23, 2003 1:32 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] mysql field not resolving comaparison condition > for zip code locator > > > Thanks Jennifer, > > I got the query

Re: [PHP-DB] mysql field not resolving comaparison condition for zip code locator

2003-09-23 Thread Jim Hunter
AND Longitude >= 37.508048715329; Jim ---Original Message--- From: AdminHMO Date: Tuesday, September 23, 2003 13:35:31 To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] mysql field not resolving comaparison condition for zip code locator Thanks Jennifer, I got the query and the zipc

Re: [PHP-DB] mysql field not resolving comaparison condition for zip code locator

2003-09-23 Thread AdminHMO
Thanks Jennifer, I got the query and the zipcode longitude and latitude from the developer of the zipcode locator. When I contacted them about this issue they had me run this query in the phpMyAdmin against the zipcode date and I still got no data returned. "Jennifer Goodie" <[EMAIL PROTECTED]> w

RE: [PHP-DB] mysql field not resolving comaparison condition for zip code locator

2003-09-23 Thread Jennifer Goodie
> > I am having trouble implementing a zip code locator program. All of the > functions work correctly but the $sql variable. > The problem occurs by using the latitude argument as a > comparison. The first > latitude argument works but when the second > latitude argument is added the query returns

Re: [PHP-DB] mysql field not resolving comaparison condition for zip code locator

2003-09-23 Thread AdminHMO
Thanks for the suggestion but the quotes didn't make a difference I submitted the sql though php myadmin that takes care of the quote syntax "Peter Beckman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > On Tue, 23 Sep 2003, AdminHMO wrote: > > > I am having trouble implementing a

Re: [PHP-DB] mysql field not resolving comaparison condition for zip code locator

2003-09-23 Thread Peter Beckman
On Tue, 23 Sep 2003, AdminHMO wrote: > I am having trouble implementing a zip code locator program. All of the > functions work correctly but the $sql variable. Try putting the SQL in quotes: $sql = "SELECT City FROM ZIPCodes WHERE Latitude <= 122.02671343318 AND Latitude >= 121.96888656682 A

[PHP-DB] mysql field not resolving comaparison condition for zip code locator

2003-09-23 Thread AdminHMO
I am having trouble implementing a zip code locator program. All of the functions work correctly but the $sql variable. The problem occurs by using the latitude argument as a comparison. The first latitude argument works but when the second latitude argument is added the query returns no data. Here