一個 表單, 多個 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 (送出) | 豬窩 | 121
I was able to find good advice from your articles.
一個 表單, 多個 submit (送出) | 豬窩 | 69
Greetings from Idaho! I'm bored at work so I decided
to check out your site on my iphone during lunch break. I love the info you provide here and can't wait to take a look when I get home.
I'm surprised at how fast your blog loaded on my cell phone ..
I'm not even using WIFI, just 3G .. Anyhow, fantastic blog!
一個 表單, 多個 submit (送出) | 豬窩 | 79
Thank you for any other informative web site. Where
else may I am getting that kind of info written in such a perfect means?
I've a undertaking that I am simply now working on, and I've been on the look out for such information.
一個 表單, 多個 submit (送出) | 豬窩 | 36
Hello! I could have sworn I've been to this website before but after browsing through
some of the post I realized it's new to me. Anyhow, I'm definitely delighted I found it and I'll be book-marking and checking back often!
一個 表單, 多個 submit (送出) | 豬窩 | 39
It's actually a great and helpful piece of information. I am satisfied that you simply shared this useful information with us.
Please stay us up to date like this. Thanks for sharing.