Hello,
I have a page <foo_query_sele ct.php> where some users set some parameters from pulldowns on a page (in a form.)
Based on the user selection, the code builds some SQL (i.e., building the WHERE part of the SQL string), and grabs some data out of a PostgreSQL, and returns it to an array, $ary_query_resu lt
Then:
I have built a results page that unserializes the searliized results array, displays some of them in a table, and allows the user to chart, save all the data columns & rows, etc - all works fine.
HERE IS THE PROBLEM: how do I ['jump' to results page] in Internet Explorer ^6& 7????
This would seem such a simple thing to do...
i.e., IF (condition) go to new url ELSE stay at this url
-----
I tried:
(i)
this works OK in Mozilla, funny frame refresh of foo_query.php before it redirects to foo_query_resul ts.php but I can live with that BUT it does not work in IE, just (seemingly) refreshes foo_query_selec t.php
(ii)
Ugly I know (!) - again OK in Mozilla BUT again it does not work in IE, same result (or lack)
(iii) Googled for more, tried a few, no luck - arghhh!!!
I guess I could create the SQL and get the data on the results page, and use action="foo_que ry_results.php" on the form, passing the parameters as $_SESSION variables - but what about if no results returned, data flow not as clean IMHO, etc, etc, etc...
And the popup blocker is set 'properly' in IE7
**************
* HELP!!!! *
**************
Thanks in advance... :-)
Regards,
GREG...
I have a page <foo_query_sele ct.php> where some users set some parameters from pulldowns on a page (in a form.)
Based on the user selection, the code builds some SQL (i.e., building the WHERE part of the SQL string), and grabs some data out of a PostgreSQL, and returns it to an array, $ary_query_resu lt
Then:
Code:
if(isset($ary_query_result)) {
...
serialize array to text file
few other tasks
['jump' to results page]
...
}
else
{
...
tell user to adjust parameters
[stay on page]
...
}
HERE IS THE PROBLEM: how do I ['jump' to results page] in Internet Explorer ^6& 7????
This would seem such a simple thing to do...
i.e., IF (condition) go to new url ELSE stay at this url
-----
I tried:
(i)
Code:
<script type="text/javascript" language="javascript">window.open("foo_query_select.php","_top")</script>
(ii)
Code:
<meta http-equiv="refresh" ... />
(iii) Googled for more, tried a few, no luck - arghhh!!!
I guess I could create the SQL and get the data on the results page, and use action="foo_que ry_results.php" on the form, passing the parameters as $_SESSION variables - but what about if no results returned, data flow not as clean IMHO, etc, etc, etc...
And the popup blocker is set 'properly' in IE7
**************
* HELP!!!! *
**************
Thanks in advance... :-)
Regards,
GREG...
Comment