OK. Simple is the best:-) I make without zend form ... while (ocifetchinto($stmt,$row, OCI_ASSOC)) { $co++; $name[$co] = $row['EQTTEXT']; $price[$co] = $row['ADDPRICE1']; } ...
foreach ($name as $st1=>$na) { foreach ($price as $st2=>$pri) { if ($st1==$st2) { echo "<tr><td><input type=\"checkbox\" onchange=\"checkPrice($tprice);\" name=\"test[]\" id=\"test$st1\" value=\"$pri\" >$na </td></tr>"; } } } ..... -- View this message in context: http://www.nabble.com/Multicheckbox-and-setAttrib---for-every-checkbox-tp18275856p18277225.html Sent from the Zend Framework mailing list archive at Nabble.com.