Reply to passing php variables to the google map api

Your name:

Reply:


Posted by styliek on 03/05/07 21:59

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' >
<tr>
<td width ='550' height = '60'> {$row['Name']}
{$row['Name']}
{$row['Phone_Number']}
{$row['Address']}
{$row['County']}
<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' >
</form>
/////////////////////////////////////////////////////
</td>
</tr>
</table>";

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация