[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Updating Database Via Checkboxes - SOLVED!
****** message to minivend-users from Birgitt Funk <birgitt@booktraders.com> ******
Birgitt Funk
http://www.booktraders.com
birgitt@booktraders.com
---------- Forwarded message ----------
Date: Thu, 8 Jun 2000 06:48:33 -0400
From: Birgitt Funk <birgitt@cais.com>
To: birgitt@booktraders.com
Subject: Re: [mv] Updating Database Via Checkboxes - SOLVED!
- SOLVED!
> ****** message to minivend-users from "Cameron B. Prince"
<cbp@InternetExpertsLLC.com> ******
>
> Hi list,
>
> Thanks to some additional perl help from Bill, I was able to get the
> checkbox form working that updates multiple rows in a database.
>
> The most interesting thing about this code is that it uses Minivend's
> ability to accept multiple inputs using the same name. Notice how all the
> checkboxes are named "printed".
>
> As Bill put it:
>
> It's OK to have the checkboxes all named the same. Minivend sticks
> them all together seperated by a NUL byte. That's why we do the
> split /'\0'/ to split them apart into a Perl array variable (@printers).
>
>
> Here's the code:
>
[snipped the best of it]
Hi you guys,
just wanted to say how great such kind of explicit explanation and
presentation of Mike's code and your application of it is for us who
want to learn. At least I for myself am very appreciative and grateful for
it. I don't know, if I can speak for others and if not, then I resort to
the fact that each single vote counts, right ? So, that's mine. Perfect.
Birgitt
Birgitt Funk
http://www.booktraders.com
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list