用于个人用户的Google地图 - 网络应用程序[关闭]

How can I put google map link, so when clicked it goes to individual user address? Every user address is stored in my database.

I think ive done this in an earlier project... Not sure if it will work, but here is my snippet:

<iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?q=<?php echo $UserAddress; ?>&output=embed"></iframe>