Ver Mensaje Individual
  #6 (permalink)  
Antiguo 29/09/2010, 16:19
soldierjesus
 
Fecha de Ingreso: agosto-2008
Ubicación: Cali . Colombia
Mensajes: 459
Antigüedad: 15 años, 8 meses
Puntos: 1
Respuesta: Llenar campo de la BD con varios checkbox

Cita:
$ministerio = $_POST['ministerio'];
foreach ($ministerio as $op_ministerio){
}
Cita:
<td>Maestro</td>
<td width="33"><input type="checkbox" name="ministerio[]" value="maestro" /> </td>
<td width="83">Grupo de paz</td>
<td width="63"><input type="checkbox" name="ministerio[]" value="grupos de paz" /></td>
<td width="76">Consolidacion</td>
<td><input type="checkbox" name="ministerio[]" value="consolidacion" /></td>
<td width="34">Monitor</td>
<td width="35"><input type="checkbox" name="ministerio[]" value="Monitor" /></td>
<td width="71">&nbsp;</td>
<td width="35">&nbsp;</td>
<td width="41">&nbsp;</td>
<td width="32">&nbsp;</td>
</tr>
<tr>
<td>M. Infantil</td>
<td><input type="checkbox" name="ministerio[]" value="Ministerio infantil" /></td>
<td>Protocolo</td>
<td><input type="checkbox" name="ministerio[]" value="protocolo" /></td>
<td>Alabanza</td>
<td><input type="checkbox" name="ministerio[]" value="alabanza" /></td>
<td colspan="3">&nbsp;</td>
<td colspan="3">&nbsp;</td>
</tr>
<tr>
<td>Danza</td>
<td><input type="checkbox" name="ministerio[]" value="danza" /></td>
<td>Ninguno</td>
<td><input type="checkbox" name="ministerio[]" value="ninguno" /></td>
<td>Seguridad</td>
<td><input type="checkbox" name="minsiterio[]" value="seguridad" /></td>
<td colspan="3">&nbsp;</td
__________________
Jaime P. Bravo
Programador Web
MCP (Microsoft Certified Professional)