re: passing inputs
| From: | John Gurley | Date: | Wed, 13 Mar 2002 14:20:59 +0000 |
| Subject: | re: passing inputs | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88348@lists.php.net to get a copy of this message | ||
Sorry,
Didn't mean to keep everyone in the dark here is the code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- saved from url=(0031)http://godel/jgurley/form1.html --> <HTML><HEAD><TITLE>Untitled Document</TITLE> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type> <META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD> <BODY background= "backgrnd.gif" text=ff8c00 link = ffffff vlink = ffff00> <FORM action=newtune.php method=post name=form1 form> <div align="center"> <h1>WEB BASED MUSIC COMPOSITION</h1> <hr> <? echo $inp; ?> <img src ="notes.gif"> <h3> </h3> <a href ="help.htm"><img src ="help1.gif"> </a> <h3>Tune Type</h3> <SELECT name=tune> <OPTION selected value=1>Jig</OPTION>
<OPTIONvalue=2>Reel</OPTION> </SELECT> </div> <P align="center"> </P> <div align="center"> <h3>Playback Tempo</h3> <SELECT name=tempo>
<OPTION selectedvalue=1>Slow</OPTION>
<OPTION value=2>Medium</OPTION>
<OPTION
value=3>fast</OPTION>
</SELECT>
</div>
<P align="center">
<P align="center">
<h3 align="center"> Form</h3>
<center>
<select name=form>
<option selected value=1>A B A B C D C B</option><option value=2>A B A C D E D C</option> </select> </center> <h3 P align="center"> Please enter tonerow, selecting from the following pitch es:</h3> <h3 P align="center">DEFGABCcdefgab</h3> <P align="center"> <INPUT name=tonerow> </P> <P align="center"> <INPUT name=Submit type=submit value=Submit> </P> <P align="center"> </P> <P align="center"> </P> <?php echo $inp; echo '<input name = "inp" type = "hidden" value = "'.$_POST['$inp'].'">'; ?> </FORM> </BODY> </HTML> Thanks so much for the help. John _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com