> -Original Message-
> From: Paul Burney [mailto:[EMAIL PROTECTED]
> Sent: 20 March 2003 15:22
>
> on 3/20/03 1:45 AM, olinux at [EMAIL PROTECTED] appended the
> following bits to
> my mbox:
>
> > [ and ] are illegal characters. #javascript
>
> I'm coming into this a bit late, so I'm no
on 3/20/03 1:45 AM, olinux at [EMAIL PROTECTED] appended the following bits to
my mbox:
> [ and ] are illegal characters. #javascript
I'm coming into this a bit late, so I'm not sure exactly what you wish to
do.
You can use JavaScript to refer to checkbox items in the format:
document.forms[for
[ and ] are illegal characters. #javascript
Here are a couple links. Looks like the solution is in
parsing the form headers.
try some google searches for 'checkbox array
javascript php'
Here's an interesting one:
http://jscript.dk/faq/php.asp
usually the only solution offered is how to work wi
> Since this is not valid HTML - how would you
> accomplish this using valid HTML?
>
> > > VALUE="Y">
How is that not valid HTML? You could use:
---John Holmes...
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Since this is not valid HTML - how would you
accomplish this using valid HTML?
> VALUE="Y">
i.e. Yahoo mail does checkboxes like this:
olinux
> "John W. Holmes" <[EMAIL PROTECTED]> wrote in
> message
> news:[EMAIL PROTECTED]
> > > > VALUE="Y">
> > >
> > >
> > > you will get an array named
oh yes,
Sorry my mistake
should be:
if($val == 'Y')
Foong
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > VALUE="Y">
> >
> >
> > you will get an array named DELETE.
> >
> > check for every element in array DELETE
> >
> > foreach($_POST['DELETE'] as $message_id
>
>
>
> you will get an array named DELETE.
>
> check for every element in array DELETE
>
> foreach($_POST['DELETE'] as $message_id => $val) {
> if($val ==1) {
You mean
if($val == 'Y')
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. h