At 12:59 07.03.2003, Michiel van Heusden said: --------------------[snip]-------------------- >I have some variables defined which i'm sending through get > ><form name="form1" method="get" action="result.php"> >// input's etc ></form> > >now I have $var1 defined in my PHP and I want to send it through that GET as >well >is there a way to do this? > >so it's not a user-defined but php-defined var, which i need to send through >the form --------------------[snip]--------------------
use a hidden field: <form name="form1" method="get" action="result.php"> <input type="hidden" name="var" value="<?php echo htmlentities($var); ?>"> // input's etc </form> -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php