> -----Original Message-----
> From: Lazor, Ed
> Sent: Friday, February 01, 2002 3:20 PM
> To: 'Georgie Casey'
> Subject: RE: [PHP] Check Boxes and updating records. (HELP ME....)
>
>
> Test the value of the variable storing whether the checkbox should be
> checked or not. If it should, echo the word CHECKED.
>
> -----Original Message-----
> From: Georgie Casey [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 01, 2002 3:06 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Check Boxes and updating records. (HELP ME....)
>
>
> OK, I've a page for my users to sign up on my website and in the form,
> there's a few checkboxes fields. So I set the name of the
> check boxes as
> name[] and PHP made an array of all the options choosen. All
> the check boxes
> values are numbers, so I got all the numbers from the array,
> put a comma
> between them all and inserted them as one field in my database. Easy.
>
> It worked well. But now I've a problem. I want to give users
> the option of
> changing their details when they log into the site. So I get
> the form and
> put <?php echo $variable_name; ?> in every text box so the
> user sees their
> record. I had a small problem with showing choosen values in
> dropdown lists
> and radio options but i solved them both.
>
> But I cannot think of any way to show what check boxes were
> choosen by the
> user. Could anyone help me? PLEASE
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
****************************************************************************
This message is intended for the sole use of the individual and entity to
whom it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law. If you are
not the intended addressee, nor authorized to receive for the intended
addressee, you are hereby notified that you may not use, copy, disclose or
distribute to anyone the message or any information contained in the
message. If you have received this message in error, please immediately
advise the sender by reply email and delete the message. Thank you very
much.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]