l Message -
From: "John Starkey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 16, 2001 5:42 PM
Subject: [PHP-DB] Storing duplicate checkbox values
> Ok This one has me stumped.
>
> I'm working on a survey for an author. There is already a
> Yeah. I'm gonna have to go with this one. Thanks. But one other question:
> what should the variable be echoing.
>
> <.input type="checkbox" name="cb_name['value']">this here option
>
> if ( $HTTP_POST_VARS ) {
> echo $cb_name['value'];
> }
>
> It's not coming up with anything. (Yeah, the no
Thanks Ron and Miles,
> First off, it sounds to me like you are doing this a non-expandable way.
> Unless you never ever plan to set up a survey again I would not hard code
> columns for each question.
This is one of "those" gigs. Needed to be done a week ago, by the person
that started it, a mo
I'm just winging this off the top of my head.
If you are absolutely sure that the order of the checkboxes will NOT
CHANGE, and that is a very risky assumption. And assuming that you have an
array to hold the values for the checked box, why not just store the value
of the index for each questio
Ok This one has me stumped.
I'm working on a survey for an author. There is already a total of 35
questions and their corresponding columns in the main table. She has three
other questions that have identical checkboxes, 30 each. I want to put
them in the second table and just make reference to t