Re: Passing parameters
| From: | Russ Michell | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Passing parameters | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8253@lists.php.net to get a copy of this message | ||
What I think is happening is that you have one form, but more than one
submit button. HTML forms can only have one submit button. So the first
one that it 'sees' is the 'save' submit button, this is why you have
this result each time.
If you're doing as I am i.e: deleting and updating results, use <input
type="button"> and not <input type="submit"> and use a bit of
Javascript: <input type="button" onClick="DoSomethingWithForm";>
Good luck!
Russ
#-------------------------------------------------------#
"Believe nothing - consider everything"
Russ Michell
Anglia Polytechnic University Webteam
www.apu.ac.uk/webteam
r.j.michell@apu.ac.uk
+44 (0)1223 363271 ext 2331
www.theruss.com
#-------------------------------------------------------#