RE: Re: deleting records using a checkbox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ 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 with
checkbox elements w/javascript and not how to read the
form submission.

maybe its in php docs somewhere...
i'll try some more searching later.

olinux


--- "John W. Holmes" <holmes072000@charter.net> wrote:
> > Since this is not valid HTML - how would you
> > accomplish this using valid HTML?
> > 
> > > <INPUT TYPE="CHECKBOX" NAME="DELETE[<?php echo
> > message_id ?>]"
> > > VALUE="Y">
> 
> How is that not valid HTML? You could use:
> 
> <input type="checkbox" name="delete[]"
> value="<?=$message_id?>">
> 
> ---John Holmes... 
> 
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux