Re: How to define array variable while accessing it ???

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

 



>              <TD><DIV ALIGN="CENTER"> <input type="checkbox" name="<? printf("chk_arr[%d]",$i); ?>" value="<?=$row[0]?>" ></DIV></TD>

setup your checkbox something like this:

<input type="checkbox" name="delete[]" value="<?=$row[0]? />

php will treat this as an array

-- 
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