
Aleksy - 2008-07-03 14:54:24
Hi,
I want to explain something I found when tried to use this class.
When you set a new city like Paris, Berlin there are several results but the class can't handle it. Som, in the example.php put this on line 12 after $theCity ='Paris';
$TheCity .= ',France'; // set a country to avoid ERRORS when multiple cities with same name are found.
or for Berlin where setting a country would not be enough, see this:
$theCity ='Berlin';
$TheCity .= '%20Schoenefeld,Germany'; // set a watched place, country to avoid ERRORS when multiple cities with same name are found.
Now I am working to make the class give an adequate answer when the case is like Berlin but so far not ready to upload.
GreetZ to the Author very very useful class.