Jump to content

[SOLVED] Baffled...


AV1611

Recommended Posts

I am baffled by this...

 

I have a form with two boxes.  The PHP processor I send it to triggers on whichever field is set.  I could do this different, but this should work.

 

PROBLEM:

 

The second input button does nothing.  zero. zilch. you click it, it shows that the mouse clicks it, but it does nothing.  I am baffled.

 

The first button works fine.

 

 

.....<snip>.....

New Part Number:  

<form name="sform" method="POST" action="tekparteditor2.php">

<input type="text" SIZE="20" name="ADDPARTNO" />

<input type="submit" name="submit" value=" ADD PROVIDED NUMBER " />

</form>

 

Part Number Series:  

<form name="aform" method="POST" action="tekparteditor2.php">

<input type="text" SIZE="20" name="SERIESPARTNO" />

<input type="submit" name="submit" value="    ADD SERIES NUMBER    " />

</form>

.....<snip>.....

Link to comment
Share on other sites

Works fine for me.

 

<?php
  if(!empty($_POST)){
    echo '<pre>' . print_r($_POST, true) . '</pre>';
  }
?>
<html><head></head><body>
New Part Number:  
<form name="sform" method="POST" action="">
<input type="text" SIZE="20" name="ADDPARTNO" />
<input type="submit" name="submit" value=" ADD PROVIDED NUMBER " />
</form>

Part Number Series:  
<form name="aform" method="POST" action="">
<input type="text" SIZE="20" name="SERIESPARTNO" />
<input type="submit" name="submit" value="    ADD SERIES NUMBER    " />
</form>
</body></html>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.