Re: [PHP] multiple checkbox help

2004-05-31 Thread John W. Holmes
Bob Lockie wrote: I tried this HTML: $_REQUEST['deleteID'] === the last box checked. so I did a google search and changed my HTML to: Now the code: for ($i = 0; $i < count($_REQUEST['deleteID']); $i++){ echo "deleting '" . $value . "'"; } has the right count but how do I get the values out?

Re: [PHP] multiple checkbox help

2004-05-31 Thread Bob Lockie
Thanks to all those who responded. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] multiple checkbox help

2004-05-31 Thread Daniel Clark
Change $_REQUEST to $_POST (a little more secure). foreach( $deleteID as $key => $value) { echo 'deleting ' . $value . '' ; } >>I tried this HTML: >> >> >> >>$_REQUEST['deleteID'] === the last box checked. >>so I did a google search and changed my HTML to: >> >> >> >> >>Now the code: >>for