Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Help With Self-Submit Form With Multiple Steps
Old 12-20-2007, 10:02 AM Help With Self-Submit Form With Multiple Steps
Experienced Talker

Posts: 32
Name: Rae
Location: Severn, MD USA
Trades: 0
I'm making this wizard type thingy that automatically generates the code I need for a post on a forum with the quantities of a certain amount of items that I have won/found in a game I play. These items are divided into 7 different categories, with 3-30 items in each category. Initially, I have the wizard ask me which category I would like to update via dropdown menu followed by a submit button to display the next step (updating the quantities) which is done by using a switch statement. Another form is then to be displayed containing a table of images of the items to be updated and textfields to input quantities. At the end of this form is a reset button and a button to update the BBCode for the post with the new quantities in a textarea (accompanied by a "select all" link.)

I can get the initial form to display the quantity update form while still displaying the dropdown menu, but I can't seem to get the generated textbox to display under the quantity form like I want it to. I'm really, really tired and I haven't coded in almost a year so it's probably staring me in the face (I've actually done it before with a user registration form but it was a looong time ago, I can't remember how I did it) and I can't seem to figure it out. Could someone tell me what I'm doing wrong? I would REALLY appreciate it.

I would also like to mention that I do want everything processed on the same page and that I would like the generated textarea to be displayed under the quantity update form with inputted quantity values intact.

Here is my code and a link to my form (the only category available is fish for right now):
PHP Code:
<?
$oguppy 
$_POST['oguppy'];
$rguppy $_POST['rguppy'];
$yguppy $_POST['yguppy'];
$p_seedkin $_POST['p_seedkin'];
$g_seedkin $_POST['g_seedkin'];
$b_seedkin $_POST['b_seedkin'];
$b_bass $_POST['b_bass'];
$br_bass $_POST['br_bass'];
$g_bass $_POST['g_bass'];
$w_pebbo $_POST['w_pebbo'];
$br_pebbo $_POST['br_pebbo'];
$bl_pebbo $_POST['bl_pebbo'];
$w_rainbow $_POST['w_rainbow'];
$c_rainbow $_POST['c_rainbow'];
$f_rainbow $_POST['f_rainbow'];
$bl_rocque $_POST['bl_rocque'];
$blu_stone $_POST['blu_stone'];
$pyrite $_POST['pyrite'];
$st_boldur $_POST['st_boldur'];
$sl_boldur $_POST['sl_boldur'];
$sa_boldur $_POST['sa_boldur'];
$gray_striper $_POST['gray_striper'];
$gr_striper $_POST['gr_striper'];
$b_striper $_POST['b_striper'];
$i_tuna $_POST['i_tuna'];
$s_tuna $_POST['s_tuna'];
$d_tuna $_POST['s_tuna'];

print
"<html>
   <head>
      <title>
         GameStop Post Updater v.1
      </title>

<STYLE TYPE=\"TEXT/CSS\">
BODY {
font-family: verdana;
font-size: 12px;
font-weight: bold;
}
TD {
font-family: verdana;
font-size: 11px;
font-weight: bold;
}
INPUT, TEXTAREA {
font-family: verdana;
font-size: 11px;
font-weight: bold;
border: 1px solid black;
background-color: white;
}
SELECT {
font-family: verdana;
font-size: 11px;
font-weight: bold;
width: 150px;
border-color: #000;
border-width: 1px;
border-style: solid;
}
.item {
width: 30px;
vertical-align: middle;
text-align: center;
}
</STYLE>

   </head>

   <body bgcolor=#ffffff text=#000000 link=#0000ff vlink=#800080 alink=#ff0000>
<form action='"
.$_server['php_self']."' method='post' name='start'>
      <table  width=\"500px\" border=0 cellspacing=0 cellpadding=3 align=center>
    <tr>
        <td colspan=3 align=center>
        GameStop Item Quantity Post Updater v.1<br><br>    
        </td>
        </tr>
        <tr>
        <td align=center>
        Update Post For:
        </td>
        <td align=center><select name='section'>
<option>Fish
<option>Flowers
<option>Bugs
<option>Trash
<option>Inks
<option>Casino
<option>Reserved
</select>
        </td>
        <td>
        <input type='submit' value='Next Step'>
        </td>
    </tr>
</table>
</form>


   </body>
</html>"
;

$section $_POST['section'];

$template $section;
switch (
$template){
    case 
"Fish":
        print 
"<form action='".$_server['php_self']."' method='post' name='fish'>
      <table  width=\"500px\" border=0 cellspacing=0 cellpadding=0 align='center'>
    <tr>
        <td class='item'>
        <img src='http://xrl.us/s3xb/y_guppy.png'>    
        </td>
        <td>
        <input type='text' name='yguppy' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/o_guppy.png'>    
        </td>
        <td>
        <input type='text' name='oguppy' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/r_guppy.png'>    
        </td>
        <td>
        <input type='text' name='rguppy' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/p_seedkin.png'>    
        </td>
        <td>
        <input type='text' name='p_seedkin' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/g_seedkin.png'>    
        </td>
        <td>
        <input type='text' name='g_seedkin' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/b_seedkin.png'>    
        </td>
        <td>
        <input type='text' name='b_seedkin' size='2'>
        </td>
        </tr>
        <tr>
        <td class='item'>
        <img src='http://xrl.us/s3xb/b_bass.png'>    
        </td>
        <td>
        <input type='text' name='b_bass' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/br_bass.png'>    
        </td>
        <td>
        <input type='text' name='br_bass' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/g_bass.png'>    
        </td>
        <td>
        <input type='text' name='g_bass' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/w_pebbo.png'>    
        </td>
        <td>
        <input type='text' name='w_pebbo' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/br_pebbo.png'>    
        </td>
        <td>
        <input type='text' name='br_pebbo' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/bl_pebbo.png'>    
        </td>
        <td>
        <input type='text' name='bl_pebbo' size='2'>
        </td>
        </tr>
        <tr>
        <td class='item'>
        <img src='http://xrl.us/s3xb/c_rainbow.png'>    
        </td>
        <td>
        <input type='text' name='c_rainbow' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/f_rainbow.png'>    
        </td>
        <td>
        <input type='text' name='f_rainbow' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/w_rainbow.png'>    
        </td>
        <td>
        <input type='text' name='w_rainbow' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/bl_rocque.png'>    
        </td>
        <td>
        <input type='text' name='bl_rocque' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/blu_stone.png'>    
        </td>
        <td>
        <input type='text' name='blu_stone' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/pyrite.png'>    
        </td>
        <td>
        <input type='text' name='pyrite' size='2'>
        </td>
        </tr>
        <tr>
        <td class='item'>
        <img src='http://xrl.us/s3xb/i_tuna.png'>    
        </td>
        <td>
        <input type='text' name='i_tuna' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/s_tuna.png'>    
        </td>
        <td>
        <input type='text' name='s_tuna' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/d_tuna.png'>    
        </td>
        <td>
        <input type='text' name='d_tuna' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/sl_boldur.png'>    
        </td>
        <td>
        <input type='text' name='sl_boldur' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/st_boldur.png'>    
        </td>
        <td>
        <input type='text' name='st_boldur' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/sa_boldur.png'>    
        </td>
        <td>
        <input type='text' name='sa_boldur' size='2'>
        </td>
        </tr>
        <tr>
        <td class='item'>
        <img src='http://xrl.us/s3xb/gray_striper.png'>    
        </td>
        <td>
        <input type='text' name='gray_striper' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/gr_striper.png'>    
        </td>
        <td>
        <input type='text' name='gr_striper' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/b_striper.png'>    
        </td>
        <td>
        <input type='text' name='b_striper' size='2'>
        </td>
        <td class='item'>
        &nbsp;    
        </td>
        <td>
        &nbsp;
        </td>
        <td class='item'>
        &nbsp;    
        </td>
        <td>
        &nbsp;
        </td>
        <td class='item'>
        &nbsp;    
        </td>
        <td>
        &nbsp;
        </td>
    </tr>
<tr>
        <td colspan=6 align='center'>
        <br><input type=\"reset\" value=\"Clear All Info\" style=\"width: 100%;\">
        </td>    
        <td colspan=6 align='center'>
        <br><input type=\"submit\" value=\"Generate Post\" name=\"generate\" style=\"width: 100%;\">    
        </td>
</tr></table></form>"
;
        break;
}

if (isset(
$_POST["generate"])) {
print 
"<form>
      <table  width=\"500px\" border=0 cellspacing=0 cellpadding=0 align='center'><tr><td colspan=12 align=center><textarea name=\"code\" rows=\"25\" cols=\"77\">[img]http://dreammare.net/game_items/fish_logo.png[/img]
[size=9][align=left]
[b][img]http://xrl.us/s3xb/o_guppy.png[/img] x
$oguppy - 5g/ea
[img]http://xrl.us/s3xb/y_guppy.png[/img] x
$yguppy - 5g/ea
[img]http://xrl.us/s3xb/r_guppy.png[/img] x
$rguppy - 5g/ea
[img]http://xrl.us/s3xb/g_seedkin.png[/img] x
$g_seedkin - 8g/ea
[img]http://xrl.us/s3xb/p_seedkin.png[/img] x
$p_seedkin - 8g/ea
[img]http://xrl.us/s3xb/b_seedkin.png[/img] x
$b_seedkin - 8g/ea
[img]http://xrl.us/s3xb/g_bass.png[/img] x
$g_bass - 10g/ea
[img]http://xrl.us/s3xb/b_bass.png[/img] x
$b_bass - 10g/ea
[img]http://xrl.us/s3xb/br_bass.png[/img] x
$br_bass - 10g/ea
[img]http://xrl.us/s3xb/w_pebbo.png[/img] x
$w_pebbo - 12g/ea
[img]http://xrl.us/s3xb/br_pebbo.png[/img] x
$br_pebbo- 12g/ea
[img]http://xrl.us/s3xb/bl_pebbo.png[/img] x
$bl_pebbo - 12g/ea
[img]http://xrl.us/s3xb/c_rainbow.png[/img] x
$c_rainbow - 15g/ea
[img]http://xrl.us/s3xb/f_rainbow.png[/img] x
$f_rainbow - 15g/ea
[img]http://xrl.us/s3xb/w_rainbow.png[/img] x
$w_rainbow - 15g/ea
[img]http://xrl.us/s3xb/bl_rocque.png[/img] x
$bl_rocque - 25g/ea
[img]http://xrl.us/s3xb/blu_stone.png[/img] x
$blu_stone - 25g/ea
[img]http://xrl.us/s3xb/pyrite.png[/img] x
$pyrite - 25g/ea
[img]http://xrl.us/s3xb/i_tuna.png[/img] x
$i_tuna - 30g/ea
[img]http://xrl.us/s3xb/s_tuna.png[/img] x
$s_tuna - 30g/ea
[img]http://xrl.us/s3xb/d_tuna.png[/img] x
$d_tuna - 30g/ea
[img]http://xrl.us/s3xb/g_striper.png[/img] x
$g_striper - 35g/ea
[img]http://xrl.us/s3xb/gray_striper.png[/img] x
$gray_striper - 35g/ea
[img]http://xrl.us/s3xb/b_striper.png[/img] x
$b_striper - 35g/ea
[img]http://xrl.us/s3xb/st_boldur.png[/img] x
$st_boldur - 40g/ea
[img]http://xrl.us/s3xb/sl_boldur.png[/img] x
$sl_boldur - 40g/ea
[img]http://xrl.us/s3xb/sa_boldur.png[/img] x
$sa_boldur - 40g/ea[/b]
[/align][/size]</textarea><br>
<input type=button value=\"Select All\" onClick=\"javascript:this.form.code.focus();this.form.code.select();\" style=\"width: 100%;\"></td>
</tr></table></form>"
;
}
exit;
?>
http://dreammare.net/game_items/admin

Last edited by SunBlind; 12-20-2007 at 10:06 AM..
SunBlind is offline
Reply With Quote
View Public Profile Visit SunBlind's homepage!
 
 
Register now for full access!
Old 12-20-2007, 12:27 PM Re: Help With Self-Submit Form With Multiple Steps
maxxximus's Avatar
Extreme Talker

Posts: 219
Name: Rob
Location: UK
Trades: 0
This might be what your after
PHP Code:
<?
$oguppy 
$_POST['oguppy'];
$rguppy $_POST['rguppy'];
$yguppy $_POST['yguppy'];
$p_seedkin $_POST['p_seedkin'];
$g_seedkin $_POST['g_seedkin'];
$b_seedkin $_POST['b_seedkin'];
$b_bass $_POST['b_bass'];
$br_bass $_POST['br_bass'];
$g_bass $_POST['g_bass'];
$w_pebbo $_POST['w_pebbo'];
$br_pebbo $_POST['br_pebbo'];
$bl_pebbo $_POST['bl_pebbo'];
$w_rainbow $_POST['w_rainbow'];
$c_rainbow $_POST['c_rainbow'];
$f_rainbow $_POST['f_rainbow'];
$bl_rocque $_POST['bl_rocque'];
$blu_stone $_POST['blu_stone'];
$pyrite $_POST['pyrite'];
$st_boldur $_POST['st_boldur'];
$sl_boldur $_POST['sl_boldur'];
$sa_boldur $_POST['sa_boldur'];
$gray_striper $_POST['gray_striper'];
$gr_striper $_POST['gr_striper'];
$b_striper $_POST['b_striper'];
$i_tuna $_POST['i_tuna'];
$s_tuna $_POST['s_tuna'];
$d_tuna $_POST['s_tuna'];

?><html>
   <head>
      <title>
         GameStop Post Updater v.1
      </title>

<style type="text/css">
BODY {
font-family: verdana;
font-size: 12px;
font-weight: bold;
}
TD {
font-family: verdana;
font-size: 11px;
font-weight: bold;
}
INPUT, TEXTAREA {
font-family: verdana;
font-size: 11px;
font-weight: bold;
border: 1px solid black;
background-color: white;
}
SELECT {
font-family: verdana;
font-size: 11px;
font-weight: bold;
width: 150px;
border-color: #000;
border-width: 1px;
border-style: solid;
}
.item {
width: 30px;
vertical-align: middle;
text-align: center;
}
</STYLE>

   </head>

   <body bgcolor=#ffffff text=#000000 link=#0000ff vlink=#800080 alink=#ff0000>
<form action="<?php $_SERVER['php_self']?>" method='post' name='start'>
      <table  width=\"500px\" border=0 cellspacing=0 cellpadding=3 align=center>
    <tr>
        <td colspan=3 align=center>
        GameStop Item Quantity Post Updater v.1<br><br>    
        </td>
        </tr>
        <tr>
        <td align=center>
        Update Post For:
        </td>
        <td align=center><select name='section'>
<option>Fish
<option>Flowers
<option>Bugs
<option>Trash
<option>Inks
<option>Casino
<option>Reserved
</select>
        </td>
        <td>
        <input type='submit' value='Next Step'>
        </td>
    </tr>
</table>
</form>


   </body>
</html>

<?php $section $_POST['section'];

$template $section;
switch (
$template){
    case 
"Fish":
        print 
"<form action='".$_SERVER['php_self']."' method='post' name='fish'>
      <table  width=\"500px\" border=0 cellspacing=0 cellpadding=0 align='center'>
    <tr>
        <td class='item'>
        <img src='http://xrl.us/s3xb/y_guppy.png'>    
        </td>
        <td>
        <input type='text' name='yguppy' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/o_guppy.png'>    
        </td>
        <td>
        <input type='text' name='oguppy' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/r_guppy.png'>    
        </td>
        <td>
        <input type='text' name='rguppy' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/p_seedkin.png'>    
        </td>
        <td>
        <input type='text' name='p_seedkin' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/g_seedkin.png'>    
        </td>
        <td>
        <input type='text' name='g_seedkin' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/b_seedkin.png'>    
        </td>
        <td>
        <input type='text' name='b_seedkin' size='2'>
        </td>
        </tr>
        <tr>
        <td class='item'>
        <img src='http://xrl.us/s3xb/b_bass.png'>    
        </td>
        <td>
        <input type='text' name='b_bass' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/br_bass.png'>    
        </td>
        <td>
        <input type='text' name='br_bass' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/g_bass.png'>    
        </td>
        <td>
        <input type='text' name='g_bass' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/w_pebbo.png'>    
        </td>
        <td>
        <input type='text' name='w_pebbo' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/br_pebbo.png'>    
        </td>
        <td>
        <input type='text' name='br_pebbo' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/bl_pebbo.png'>    
        </td>
        <td>
        <input type='text' name='bl_pebbo' size='2'>
        </td>
        </tr>
        <tr>
        <td class='item'>
        <img src='http://xrl.us/s3xb/c_rainbow.png'>    
        </td>
        <td>
        <input type='text' name='c_rainbow' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/f_rainbow.png'>    
        </td>
        <td>
        <input type='text' name='f_rainbow' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/w_rainbow.png'>    
        </td>
        <td>
        <input type='text' name='w_rainbow' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/bl_rocque.png'>    
        </td>
        <td>
        <input type='text' name='bl_rocque' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/blu_stone.png'>    
        </td>
        <td>
        <input type='text' name='blu_stone' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/pyrite.png'>    
        </td>
        <td>
        <input type='text' name='pyrite' size='2'>
        </td>
        </tr>
        <tr>
        <td class='item'>
        <img src='http://xrl.us/s3xb/i_tuna.png'>    
        </td>
        <td>
        <input type='text' name='i_tuna' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/s_tuna.png'>    
        </td>
        <td>
        <input type='text' name='s_tuna' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/d_tuna.png'>    
        </td>
        <td>
        <input type='text' name='d_tuna' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/sl_boldur.png'>    
        </td>
        <td>
        <input type='text' name='sl_boldur' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/st_boldur.png'>    
        </td>
        <td>
        <input type='text' name='st_boldur' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/sa_boldur.png'>    
        </td>
        <td>
        <input type='text' name='sa_boldur' size='2'>
        </td>
        </tr>
        <tr>
        <td class='item'>
        <img src='http://xrl.us/s3xb/gray_striper.png'>    
        </td>
        <td>
        <input type='text' name='gray_striper' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/gr_striper.png'>    
        </td>
        <td>
        <input type='text' name='gr_striper' size='2'>
        </td>
        <td class='item'>
        <img src='http://xrl.us/s3xb/b_striper.png'>    
        </td>
        <td>
        <input type='text' name='b_striper' size='2'>
        </td>
        <td class='item'>
        &nbsp;    
        </td>
        <td>
        &nbsp;
        </td>
        <td class='item'>
        &nbsp;    
        </td>
        <td>
        &nbsp;
        </td>
        <td class='item'>
        &nbsp;    
        </td>
        <td>
        &nbsp;
        </td>
    </tr>
<tr>
        <td colspan=6 align='center'>
        <br><input type=\"reset\" value=\"Clear All Info\" style=\"width: 100%;\">
        </td>    
        <td colspan=6 align='center'>
        <br><input type=\"submit\" value=\"Generate Post\" name=\"generate\" style=\"width: 100%;\">    
        </td>
</tr></table></form>"
;
        break;
}

if (isset(
$_POST["generate"])) {
print 
"<form>
      <table  width=\"500px\" border=0 cellspacing=0 cellpadding=0 align='center'><tr><td colspan=12 align=center><textarea name=\"code\" rows=\"25\" cols=\"77\">[img]http://dreammare.net/game_items/fish_logo.png[/img]
[size=9][align=left]
[b][img]http://xrl.us/s3xb/o_guppy.png[/img] x
$oguppy - 5g/ea
[img]http://xrl.us/s3xb/y_guppy.png[/img] x
$yguppy - 5g/ea
[img]http://xrl.us/s3xb/r_guppy.png[/img] x
$rguppy - 5g/ea
[img]http://xrl.us/s3xb/g_seedkin.png[/img] x
$g_seedkin - 8g/ea
[img]http://xrl.us/s3xb/p_seedkin.png[/img] x
$p_seedkin - 8g/ea
[img]http://xrl.us/s3xb/b_seedkin.png[/img] x
$b_seedkin - 8g/ea
[img]http://xrl.us/s3xb/g_bass.png[/img] x
$g_bass - 10g/ea
[img]http://xrl.us/s3xb/b_bass.png[/img] x
$b_bass - 10g/ea
[img]http://xrl.us/s3xb/br_bass.png[/img] x
$br_bass - 10g/ea
[img]http://xrl.us/s3xb/w_pebbo.png[/img] x
$w_pebbo - 12g/ea
[img]http://xrl.us/s3xb/br_pebbo.png[/img] x
$br_pebbo- 12g/ea
[img]http://xrl.us/s3xb/bl_pebbo.png[/img] x
$bl_pebbo - 12g/ea
[img]http://xrl.us/s3xb/c_rainbow.png[/img] x
$c_rainbow - 15g/ea
[img]http://xrl.us/s3xb/f_rainbow.png[/img] x
$f_rainbow - 15g/ea
[img]http://xrl.us/s3xb/w_rainbow.png[/img] x
$w_rainbow - 15g/ea
[img]http://xrl.us/s3xb/bl_rocque.png[/img] x
$bl_rocque - 25g/ea
[img]http://xrl.us/s3xb/blu_stone.png[/img] x
$blu_stone - 25g/ea
[img]http://xrl.us/s3xb/pyrite.png[/img] x
$pyrite - 25g/ea
[img]http://xrl.us/s3xb/i_tuna.png[/img] x
$i_tuna - 30g/ea
[img]http://xrl.us/s3xb/s_tuna.png[/img] x
$s_tuna - 30g/ea
[img]http://xrl.us/s3xb/d_tuna.png[/img] x
$d_tuna - 30g/ea
[img]http://xrl.us/s3xb/g_striper.png[/img] x
$g_striper - 35g/ea
[img]http://xrl.us/s3xb/gray_striper.png[/img] x
$gray_striper - 35g/ea
[img]http://xrl.us/s3xb/b_striper.png[/img] x
$b_striper - 35g/ea
[img]http://xrl.us/s3xb/st_boldur.png[/img] x
$st_boldur - 40g/ea
[img]http://xrl.us/s3xb/sl_boldur.png[/img] x
$sl_boldur - 40g/ea
[img]http://xrl.us/s3xb/sa_boldur.png[/img] x
$sa_boldur - 40g/ea[/b]
[/align][/size]</textarea><br>
<input type=button value=\"Select All\" onClick=\"javascript:this.form.code.focus();this.form.code.select();\" style=\"width: 100%;\"></td>
</tr></table></form>"
;
}
exit;
?>
maxxximus is offline
Reply With Quote
View Public Profile
 
Old 12-20-2007, 03:34 PM Re: Help With Self-Submit Form With Multiple Steps
Experienced Talker

Posts: 32
Name: Rae
Location: Severn, MD USA
Trades: 0
Thanks for the reply, but I do believe I've already tried that... It produces the same result as my current form.

The textarea is displayed by itself without the dropdown list or the update form with the previously inputted values
SunBlind is offline
Reply With Quote
View Public Profile Visit SunBlind's homepage!
 
Old 12-20-2007, 05:41 PM Re: Help With Self-Submit Form With Multiple Steps
Novice Talker

Posts: 13
Name: hach22
Trades: 0
PHP Code:
$oguppy $_POST['oguppy'];
$rguppy $_POST['rguppy'];
$yguppy $_POST['yguppy'];
$p_seedkin $_POST['p_seedkin'];
$g_seedkin $_POST['g_seedkin'];
$b_seedkin $_POST['b_seedkin'];
$b_bass $_POST['b_bass'];
$br_bass $_POST['br_bass'];
$g_bass $_POST['g_bass'];
$w_pebbo $_POST['w_pebbo'];
$br_pebbo $_POST['br_pebbo'];
$bl_pebbo $_POST['bl_pebbo'];
$w_rainbow $_POST['w_rainbow'];
$c_rainbow $_POST['c_rainbow'];
$f_rainbow $_POST['f_rainbow'];
$bl_rocque $_POST['bl_rocque'];
$blu_stone $_POST['blu_stone'];
$pyrite $_POST['pyrite'];
$st_boldur $_POST['st_boldur'];
$sl_boldur $_POST['sl_boldur'];
$sa_boldur $_POST['sa_boldur'];
$gray_striper $_POST['gray_striper'];
$gr_striper $_POST['gr_striper'];
$b_striper $_POST['b_striper'];
$i_tuna $_POST['i_tuna'];
$s_tuna $_POST['s_tuna'];
$d_tuna $_POST['s_tuna']; 
You can change it by
PHP Code:
extract($_POST); 
http://www.php.net/manual/en/function.extract.php
hach22 is offline
Reply With Quote
View Public Profile
 
Old 12-20-2007, 07:13 PM Re: Help With Self-Submit Form With Multiple Steps
Experienced Talker

Posts: 32
Name: Rae
Location: Severn, MD USA
Trades: 0
Thanks for the tip, but I'm not quite sure where you're getting at...
SunBlind is offline
Reply With Quote
View Public Profile Visit SunBlind's homepage!
 
Old 12-24-2007, 03:38 AM Re: Help With Self-Submit Form With Multiple Steps
Experienced Talker

Posts: 32
Name: Rae
Location: Severn, MD USA
Trades: 0
Anyone?
SunBlind is offline
Reply With Quote
View Public Profile Visit SunBlind's homepage!
 
Reply     « Reply to Help With Self-Submit Form With Multiple Steps
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 2.69359 seconds with 12 queries