passing php variables to the google map api

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hmm where to start, im working on a little web project for myself and
for added functionality i want to incorporate the google map api into
it so a person can click an address and been shown a map that
corresponds to that address.
They perform a search of my database and it returns a bunch of
results, name, address phone number, etc..
ideally i would like to create a button or a hyper link that they can
press next to the name result that would show them into my map api
page and pass the address variables along with it

here is some script that i create so the users can see all the
relevant results to their search

while ($row= mysql_fetch_array($result)) {
  echo"<table border ='1' bgcolor = '#CCFFFF' align ='center' >
<td width ='550' height = '60'>

<a href=".$row['Website'].">Website Address</a>
//// This is where i dont know what to do ???????
<form name ='Map' action='./map.php' method ='post'>
"$mapaddress = .$row['Address'];"
<input name='Map' type='submit' width='' class='btn' value='Map' >

As you can see I cant figure out a way to post the address variables
to the page with the google api. Does anyone have any experience in
this, any help or pointers greatly appreciated

Re: passing php variables to the google map api

Quoted text here. Click to load it

Look into Microsoft's Virtual Earth -- it's free w/ no registration:

Site Timeline