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 
<[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: [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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to