Re: [PHP-WIN] Checkbox problem

2002-08-21 Thread Ignatius Reilly
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

RE: [PHP-WIN] Checkbox problem

2002-08-21 Thread Rich Gray
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

RE: [PHP-WIN] Checkbox problem

2002-08-21 Thread Ross Fleming
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

[PHP-WIN] Checkbox problem

2002-08-21 Thread Kit Kerbel
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.