Whatever I can use the karma.
If you do a search at bryanslist.org, you can see the example of how I made
it work.
What I did was basically alter my files to include a random variable that
the search page form passes to the results page.
>From the 1st page search form:
*<div><input name="map_var" type="hidden" value="<?php echo rand (); ?>"
/></div>*
>From the results page:*
$map_var = $_POST['map_var'];
*then*
$sql = "INSERT INTO $tablename(location, lat, lng,
map_var)VALUES('$attr->text', '$lat', '$lng', '$map_var')";
$result=mysql_query($sql);
*into my mysql table.*
*The phpsqlajax_genxml2.php file then pulls it from the table:
*$map_var = $_GET['map_var']; *
then
*$query = "SELECT * FROM $tablename WHERE map_var = '$map_var'";
$result = mysql_query($query);*
and adjust your XML nodes accordingly;
Ultimaely coming back to the results pages, where you match the variables
like this:
*"GDownloadUrl("Marketing/Maps/phpsqlajax_genxml2.php?map_var=<?php echo
$_POST['map_var'];?>"*
Hope that helps.
R. B. Boova
610-742-6733
[email protected]
bryanboova.com <http://www.bryanboova.com>
Resume <http://www.bryanboova.com/rbbresume.pdf>
Creative Portfolio <http://bryanboova.com/Portfolio/portfolio.htm>
vCard <http://bryanboova.ath.cx/pics/rbb.vcf>
On Tue, Dec 23, 2008 at 4:26 AM, warden [Andrew Leach - Maps API Guru] <
[email protected]> wrote:
>
> On Dec 23, 8:56 am, "Vishal Shah" <[email protected]> wrote:
> > Hi,
> >
> > I didn't realise people charge for helping.
>
> Generally they don't, but only if you provide a link so we can see
> what you're doing. What you have provided so far is a specification
> for a programmer. Bear in mind too that *this* group is for the Maps
> API, which is client-side, and is not primarily here to help with
> server-side programming.
>
> 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
-~----------~----~----~----~------~----~------~--~---