RE: Re: deleting records using a checkbox

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

 



> <INPUT TYPE="CHECKBOX" NAME="DELETE[<?php echo message_id ?>]"
VALUE="Y">
> 
> 
> 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. http://www.phparch.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