-
From: "kranthi"
To: "Michael A. Peters"
Cc: ;
Sent: Monday, May 18, 2009 7:48 PM
Subject: Re: [PHP] Help with PHP processing form checkboxes needed :-(
1. every time the form is submitted.. generate the list of all the
check boxes which are checked and overwrite t
Paul M Foster wrote:
When you say "it sends its id", what do you mean? You're not talking
about the ID attribute of the checkbox tag, are you?
The way I handle something like this is to give the checkbox tag a
"value" attribute. Like:
Each page has to be a form if you do this. When you chec
On Mon, May 18, 2009 at 06:51:32PM -0700, chris_pa...@danmangames.com wrote:
> Hi everyone,
>
> I'm having a major problem. I have an order system that allows you to add
> items with a checkbox, that works fine. If you add an item and go back to
> the product listing the items that are in your c
kranthi wrote:
this depends much on the database implementation. obviously this is a
one to many relationship.
Probably easiest to do in the session database.
You can store the session fields in an external database if you want the
shopping cart to persist over multiple sessions.
--
PHP Ge
1. every time the form is submitted.. generate the list of all the
check boxes which are checked and overwrite the previous value in the
database.
2. get the list of all entries from the database see if the
corresponding check box is checked.. if so leave it as it is, if not
remove it...
this dep
chris_pa...@danmangames.com wrote:
Hi everyone,
I'm having a major problem. I have an order system that allows you to
add items with a checkbox, that works fine. If you add an item and go
back to the product listing the items that are in your cart show up as
checked on the products listing
Hi everyone,
I'm having a major problem. I have an order system that allows you to add
items with a checkbox, that works fine. If you add an item and go back to
the product listing the items that are in your cart show up as checked on
the products listing forms to make it easier to see what
add squere brackets to the name and loop through $_POST['state'], as
this will become an array now
James Taylor wrote:
Heya folks, not sure if this is more of a php question or an html question,
though I'm right now leaning towards a 50% php, 50% html, so I think this is
on topic still.
I have
Put square brackets behine the nameie
James Taylor wrote:
Heya folks, not sure if this is more of a php question or an html question,
though I'm right now leaning towards a 50% php, 50% html, so I think this is
on topic still.
I have a form filled with checkboxes, each representing one
Add [] to name of variable
Alabama
- Original Message -
From: "James Taylor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 24, 2002 6:05 PM
Subject: [PHP] processing form checkboxes
Heya folks, not sure if this is more of a p
Heya folks, not sure if this is more of a php question or an html question,
though I'm right now leaning towards a 50% php, 50% html, so I think this is
on topic still.
I have a form filled with checkboxes, each representing one of the 50
states. A user can check as many states as they want, then
11 matches
Mail list logo