[Geomoose-users] Passing HTML to php

Dan Little danlittle at yahoo.com
Fri Oct 10 13:52:24 EDT 2008


Not in the status quo.... but could be something we could look at adding in GM2.



----- Original Message ----
From: Jay Kapalczynski <jkapalczynski at ci.maple-grove.mn.us>
To: Jay Kapalczynski <jkapalczynski at ci.maple-grove.mn.us>; "geomoose-developers at lists.sourceforge.net" <geomoose-developers at lists.sourceforge.net>; "geomoose-users at lists.sourceforge.net" <geomoose-users at lists.sourceforge.net>
Sent: Friday, October 10, 2008 12:43:31 PM
Subject: Re: [Geomoose-users] Passing HTML to php

 
Seeing that we can now have
multiple Search boxes can we somehow tie them into each other and run an AND statement
to grab both?
 
 
From:Jay Kapalczynski 
Sent: Friday, October 10, 2008 12:40 PM
To: 'geomoose-developers at lists.sourceforge.net';
'geomoose-users at lists.sourceforge.net'
Subject: Passing HTML to php
 
I am trying to pass some variables from HTML (javascript)to
a PHP  page.
 
I am reading that this is not possible….
 
What I have is a few drop down boxes on a tab in GeoMoose. 
After user selection I assign them to a variable 
I then want to pass them to a php page where I can query a
SQL database and return records
 
Eventually I am hoping that I can get these records to be
selected in the Map…
 
Anyone out there think this is possible?  I have read
its not.
 
All I get is the value “varPropertyType” not the value of
the variable (“Residential”)
 
 
QUESTION:
Is there any other way to have a couple drop down boxes
in a tab
Allow user input
Use the variables to query a database
Return the values
Select the records in the map
 
Anyone have any ideas of how I could make this happen in
Geomoose?
 
 
 
 
 
From the HTML Page:
varPropertyType is a variable that has a value
 
<td><a href="javascript: void window.open('./php/PropertyQuery.php?PropertyType=varPropertyType','photowindow','width=600,height=400',position='center');">Open
Info Page</a>
 
 
In PHP 
 
<?php
 
$p_PropertyType = @$_GET["PropertyType"];
 
 echo $p_PropertyType;
 
?>


      
-------------- next part --------------
Skipped content of type multipart/related


More information about the Geomoose-users mailing list