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
https://forums.phpfreaks.com/topic/78276-solved-baffled/
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
https://forums.phpfreaks.com/topic/78276-solved-baffled/#findComment-396123
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.