RE: [PHP-DB] Re: deleting records using a checkbox

From: Date: Thu, 20 Mar 2003 06:45:27 +0000
Subject: RE: [PHP-DB] Re: deleting records using a checkbox
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-26496@lists.php.net to get a copy of this message
[ 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

« previous php.db (#26496) next »