一個 表單, 多個 submit (送出)
一個 <form> 表單, 多個 submit (送出)
例如:
<input id="textfield" name="textfield" type="text" value="rrr" />
<input id="button1" name="button1" type="submit" value="送出1" />
<input id="button2" name="button2" type="submit" value="送出2" />
<input id="button3" name="button3" type="submit" value="送出3" />
按 button1只會送出 $_POST['button1']="送出1" 其它兩個 submit 不會送出
按 button2只會送出 $_POST['button2']="送出2" 其它兩個 submit 不會送出
按 button3只會送出 $_POST['button3']="送出3" 其它兩個 submit 不會送出
迴響
一個 表單, 多個 submit (送出) | 豬窩 | 39
Hello there, just became alert to your blog through Google, and found that
it is truly informative. I am gonna watch out for brussels.
I will appreciate if you continue this in future. Lots of people will
be benefited from your writing. Cheers!
一個 表單, 多個 submit (送出) | 豬窩 | 102
What i don't realize is actually how you aree noww not atually much morde well-favored than you might bbe
now. You're vedy intelligent. You understand thus
considrably on thhe subject oof thhis matter, produced
me in my opinion bedlieve it from a llot of numerous angles.
Itts like meen and women don't seem too be intrrested until it's one thing too doo wifh
Girl gaga! Your personal stuffs outstanding.
All thhe time cqre for iit up!
一個 表單, 多個 submit (送出) | 豬窩 | 39
Excellent write-up. I certainly appreciate this site.
Stick with it!