PHP Classes

Can't get it to work :(

Recommend this page to a friend!

      Zip Codes Range  >  All threads  >  Can't get it to work :(  >  (Un) Subscribe thread alerts  
Subject:Can't get it to work :(
Summary:Getting very strange results
Messages:3
Author:Joel G
Date:2004-12-15 01:44:50
Update:2004-12-15 13:32:22
 

  1. Can't get it to work :(   Reply   Report abuse  
Picture of Joel G Joel G - 2004-12-15 01:44:50
here is a print_r of my results from:

$test = new ZipCodesRange(97213,25);
$test2 = $test->getZipCodesInRange;


zipcodesrange Object
(
[milesToDegrees] => 0.01445
[zipCode] => 97213
[range] => 25
[country] => US
[zipCodes] => Array
(
[] => 12.31
)

[dbTable] => zipData
[dbZip] => zipcode
[dbLon] => lon
[dbLat] => lat
)

  2. Re: Can't get it to work :(   Reply   Report abuse  
Picture of Scott Mattocks Scott Mattocks - 2004-12-15 13:26:48 - In reply to message 1 from Joel G
Sorry that was a bug. The code was looking for a column named zip instead of the column that $this->dbZip identifies.

Everything should be working right now. Please redownload the file.

Scott Mattocks

  3. Re: Can't get it to work :(   Reply   Report abuse  
Picture of Scott Mattocks Scott Mattocks - 2004-12-15 13:32:22 - In reply to message 1 from Joel G
Sorry that was a bug. The code was looking for a column named zip instead of the column that $this->dbZip identifies.

Everything should be working right now. Please redownload the file.

Scott Mattocks