Ver Mensaje Individual
  #2 (permalink)  
Antiguo 02/05/2019, 23:37
Avatar de baldaweb
baldaweb
 
Fecha de Ingreso: septiembre-2010
Ubicación: Barco pirata
Mensajes: 244
Antigüedad: 13 años, 7 meses
Puntos: 20
Respuesta: dudas con foreach

Si seleccionas el checkbox 1 y el 3, el foreach te devolvería 1 y 3.

Código PHP:
Ver original
  1. if(!empty($_POST['idr'])) {
  2.     foreach($_POST['idr'] as $check) {
  3.             echo $check;
  4.     }
  5. }

Como le pasas el id al input? no lo veo
__________________
CHOOO COOO LAAA TEEEEEEEEE