[Geomoose-users] Passing HTML to php
Dan Little
danlittle at yahoo.com
Fri Oct 10 13:54:03 EDT 2008
There's a few things going on here.
I'm going to try and answer the first question first, the rest might have to wait until Monday. :-D
<a href="javascript: void
window.open('./php/PropertyQuery.php?PropertyType='+varPropertyType+','photowindow','width=600,height=400',position='center');">
Try that.
-Duck
----- Original Message ----
From: Jay Kapalczynski <jkapalczynski at ci.maple-grove.mn.us>
To: "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:39:31 PM
Subject: [Geomoose-users] 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