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?
Thanks to all those who responded.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
3 matches
Mail list logo