One form will always post the same set of POST variables (sometimes a partial set, as
when a checkbox is not checked, the variable is not passed)
So the best way is to add hidden fields to your form, and manipulate then in
javascript, like in this example (several submit buttons, corresponding
rom: Kit Kerbel [mailto:[EMAIL PROTECTED]]
Sent: 21 August 2002 15:41
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Checkbox problem
I have a page that lists entries made by users in the database. There are
three types of entries. Each type of entry is stored in their own table.
My problem is this: I wan
able $_POST['delete']
will now contain "Delete Selected", but it is only necessary to test that
this variable is set and not empty. ie
Ross
> -Original Message-
> From: Kit Kerbel [mailto:[EMAIL PROTECTED]]
> Sent: 21 August 2002 15:41
> To: [EMAIL PROTECTE
I have a page that lists entries made by users in the database. There are
three types of entries. Each type of entry is stored in their own table.
My problem is this: I want people to be able to click a checkbox next to
any of the entries and press a delete button and delete those entries.