[Geomoose-users] Queries

Jay Kapalczynski jkapalczynski at ci.maple-grove.mn.us
Wed Oct 15 10:02:12 EDT 2008


I am trying to figure something out here.  And don't want to make a long and confusing email..
So I will start with this.

I will gladly paste my code it that will make it easier to understand what I am doing.

I have created two tabs.
On the first tab I have a bunch of dropdown boxes.
Onclick I have a Function that creates Cookies and stores the values from the dropdown boxes
                The reason I am creating cookies is because I cant figure out how to get this work (see below) with variables.
                I have been told I cannot pass variables from javascript to php.
                At the same time I have been told you can....so I am a bit confused.
                Thus just created cookies that I use and delete.
In php I then grab the cookie values and write them to variables.
I then use these variables to populate a query.
The query runs great and returns the results.

My problem is that the results are being returned to another page.
I want them to be pushed to a specific tab.

                                <tr>
                                <td align="center" width='100'>Both SQL and Access:</td>
                                <td style= "cursor:pointer" align="center" onclick="javascript:getResulthype2('parcellink3.php','[PID]','S')"><font size='2' color='#007FFF' >Open Images</font></td>
                                </tr>

I want to use something like this but don't know how to mesh it with my code.
I am currently using this (from Adam Feidt): passing [PID] from a identify and the S value to parcelink3.php.
The getResulthype2 is ajax code that is pushing the values to a tab (I think)

I know this is a loaded question...just dont know where to start.

Again I can paste my code if that would make things easier.

Any thoughts....

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20081015/49ec9f43/attachment.html


More information about the Geomoose-users mailing list