Pablo D Marotta wrote:
Hi there..
I need to pass variables to a page through an html link.
I do it like this:

<A href="Extra/excelListing3.php?buildQuery=<?php echo $buildQuery
?>">Export</A>

where 'buildQuery' is the variable I´m passing.

In the destination page, I capture it with $_GET and that´s it.

I want to know if there is any way of doing it without showing the variables in
the direction bar.

Turn it into a form, and post it.

<form name="whatever" action="Extra/excelListing3.php" method="post">
<input type="hidden" name="buildQuery" value="<?php echo ( $buildQuery ); ?>" />
<a href="JavaScript:document.whatever.submit()">Export</a>
</form>


--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to