Open google map taking the address from PHP variable


I have an address stored in a php variable (say$add). I am trying to create a link in myWeb App, which when clicked will open theGoogle Maps App in theiPhone with the$add marked. I don't want to embed the map in the web app.

Can anyone give a few pointers how to go about it?




Just link to<?=$add?> this should open the maps app on iPhone by default (and android incidentally)




You can send the data over url parameters:

Check info here:

Google Map Parameters

People are also looking for solutions to the problem: PHP nested foreach


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.