知道如何处理这个问题吗?我的问题是当我在 form2 上提交时 form1 自动提交到。我想要的是当我在form2上提交时,只有form2提交。请检查此示例代码。
<?php echo form_open('form1'); ?>
<input type="text" name="name">
<?php echo form_open('form2'); ?>
<input type="text" name="note">
<input type="submit" value="button2"> // this form2 is to insert note on this day
<?php echo form_close(); ?>
// then under this form2 we have a table. Table for list of note that all ready insert.
<input type="submit" value="button1"> // this form1 is to save all. the "Name" and also the note that we insert it on form2
<?php echo form_close(); ?>