![]() |
Problem executing MSSQL query in PHP
Hello, I'm trying to run the following query against an MSSQL database in php:
PHP Code:
Lat Lng 45.4100 -75.7000 Here is the code I'm using: PHP Code:
Does anyone have any ideas what could be going on here? Thanks, Andrew |
var_dump for more info..
|
OK, I actually ended up fixing up the problem by experimenting. This SQL solved it:
SELECT Lat,Lng FROM zip_lookup WHERE LOWER(ZIP) = 'k1a 0b1' AND ID > 0 Anyone know of any reasons why this would happen? Thanks, Andrew |
| All times are GMT. The time now is 06:47 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0