php-db | 2001051
Date: 05/14/01
- Next message: Mikail: "[PHP-DB] Help a newbie: Oracle8 Php4 Apache"
- Previous message: Russ Michell: "Re: [PHP-DB] Date display problem"
- In reply to: Sharmad Naik: "[PHP-DB] variable vaule lost"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Maybe this is what you wanted:
<?
echo("<FORM>");
$i=10;
for ($j=0;$j<3;$j++){
echo $j;
echo("<INPUT TYPE=checkbox NAME='$j' VALUE='$i'>");
}
echo("<input type=hidden name=passvar value=$i>");
echo("<input type=submit name=Enter value=Enter>");
echo("</form>");
?>
The value of '$i' can now be picked up by calling it from the new var:
'passvar'
HTH :)
Russ
how The variable being passed will be seen in the next form?
On Fri, 11 May 2001 01:55:42 +0530 Sharmad Naik
<sharmad <email protected>> wrote:
> pls look at the attachment
> --
> The secret of the universe is @*&í!'ñ^#+ NO CARRIER
> __ _ _ _ _
> |_|_||_||_||\/||_|| \
> _|| || || \| || ||_/
#-------------------------------------------------------#
"Believe nothing - consider everything"
Russ Michell
Anglia Polytechnic University Webteam
e: r.j.michell <email protected>
w: www.apu.ac.uk/webteam
t: +44 (0)1223 363271 x 2331
www.theruss.com
#-------------------------------------------------------#
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Mikail: "[PHP-DB] Help a newbie: Oracle8 Php4 Apache"
- Previous message: Russ Michell: "Re: [PHP-DB] Date display problem"
- In reply to: Sharmad Naik: "[PHP-DB] variable vaule lost"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

