On Jan 8, 2:13 pm, Shadman <[email protected]> wrote: > I will test it with real values and see if it works later today. > However, what I meant about the <? ?> tags is that they don't change > their coloration when they are used within the <script> tags for the > api. They change everywhere else because it is recognized as PHP, but > for some reason they don't in the code for the API.
Ah. Misread that. I suspect that your editor is (slightly) confused by having the tags inside <script>. > Is <? = equivalent > to <? echo? I didn't quite understand what you meant. NO! <?= is equivalent to <? echo. Note the lack of a space in the shorthand version. See http://us.php.net/echo > I was also wondering if the method I'm using (which I got from > http://code.google.com/apis/maps/documentation/services.html#Returnin...) > is the right way to go about this. Is there a better or more correct > way of going about getting data from a SQL database, sending it to > Google and having the directions returned? There seems to be the XML > parsing and sending, but this seems like it should work too. > I'm just not sure which method to go about. What you are currently doing is constructing a directions call to send to the client so that it can send it on to Google. There's nothing particularly wrong with that, and it does mean that the request is associated with the client IP address, not your server address. > Also, I'll post a link later today, > there are just some issues with the server right now. Thanks for the > help Andrew, I really appreciate it. And yea we are at Harvard. Its > our freshman year computer science project. Thanks for confirming that. It does mean that you won't be given solutions but pointed in the direction (pun not intended) of suitable resources to help. Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps 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-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
