In order to help you find the problem, we will need to see the response from
the server.
So yes, either put it up on another domain or perhaps try to paste in a
response...
Do you get any error message?

- VizBoy.

On Wed, Mar 25, 2009 at 5:54 PM, [email protected] <[email protected]>wrote:

>
> Hey,
>
> Im new to this GWT developing.
>
> I am trying to implement the GeoMap and I want the data to it from
> another destination.
>
> fore example when I'll try to get the spreadsheet it works perfectly,
> but when I'll try with a php-file which I created myself, then it
> won't work?
> Shall the document have a specific syntax or are we talking server
> setup?
>
> This is my code: (I have hided my domain, but if you need to test it
> let me know, and I will put it up in another domain)
> String str = "http://url.dk/getountries.php";;
> //str = "http://spreadsheets.google.com/pub?key=pCQbetd-
> CptH5QNY89vLtAg<http://spreadsheets.google.com/pub?key=pCQbetd-%0ACptH5QNY89vLtAg>
> ";
> Query query = Query.create(str);
>
> query.send(new Callback(){
>  public void onResponse(QueryResponse response) {
>    if (response.isError()) {
>      Window.alert("An error occured: " + str + " " +
> response.getMessage());
>    }
>    else
>    {
>      Window.alert("gi gas");
>    }
>  }
> });
>
> I hope you can help me :-)
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to