Tema: id ++
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/07/2009, 09:47
Avatar de abimaelrc
abimaelrc
Colaborador
 
Fecha de Ingreso: mayo-2009
Ubicación: En el planeta de Puerto Rico
Mensajes: 14.734
Antigüedad: 15 años
Puntos: 1517
Respuesta: id ++

Código PHP:
Ver original
  1. $sumacolor=1;
  2. $sumacolor1=1;
  3. while($list_sistemas_1=mysql_fetch_array($list_sistemas)){
  4.     echo "<tr id='fila". $sumacolor++ ."'>
  5.      <td>
  6.        <input onClick='cambia(". $sumacolor1++ .")' name=delete_sistemas_option[] type=checkbox value=".$list_sistemas_1['codigo_sistemas'].">
  7.    </td>
  8.    <td>&nbsp;".$list_sistemas_1['check_sistem']."</td></tr>";
  9. }