Advertisement

09.06.2007 at 11:51AM PDT, ID: 22811701
[x]
Attachment Details

html form problem with php

Asked by fixitben in Hypertext Markup Language (HTML), Web Languages/Standards, PHP Scripting Language

Tags: php, form, html

Hi I have a form with a submit button at the bottom.  But also have a form in the middle that I would also like to work.

When you click the View form it goes to the indexpre.php?i=1  not the indexpre.php?i=2

<form action="indexpre.php?i=1" method="post"><div id="wrap">
            <div id="dpwrapodd"><br>
                  <div>NOTHING<Input type = 'Radio' Name ='action[B0000006507]' value= '0' checked ></div>
                  <div>DELETE<Input type = 'Radio' Name ='action[B0000006507]' value= '1'></div>
                  <div>RELEASE<Input type = 'Radio' Name ='action[B0000006507]' value= '2'></div>
                  <div>CLEAN<Input type = 'Radio' Name ='action[B0000006507]' value= '3'></div>
                  <div align='center'><form action="index.php?i=2" method="post"><input type="submit" value="View" name="View"> <input name="file" type="hidden" value="B0000006507"></form></div>
                  <div>B0000006507</div>
            </div>

            <div id="pharserwrapodd">
                  <div style="width:1000px ">test</div>
            </div>
<div id="pharserwrap"><br><input type="submit" value="SUBMIT" name="submit">
</form>

Does any body know a way to do this better or get this to work.  I would like to have the form inside the other form but them not linked in any way.

Thanks
FixitbenStart Free Trial
[+][-]09.06.2007 at 12:09PM PDT, ID: 19842880

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Hypertext Markup Language (HTML), Web Languages/Standards, PHP Scripting Language
Tags: php, form, html
Sign Up Now!
Solution Provided By: walkerke
Participating Experts: 1
Solution Grade: A
 
 
[+][-]09.06.2007 at 12:12PM PDT, ID: 19842907

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628