![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
22/02/2013, 11:39
|
![Avatar de dashtrash](http://static.forosdelweb.com/customavatars/avatar175709_1.gif) | Colaborador | | Fecha de Ingreso: abril-2007 Ubicación: Ni en Sevilla,ni en Sanlúcar..qué más da..
Mensajes: 927
Antigüedad: 17 años, 10 meses Puntos: 270 | |
Respuesta: es lo mismo hacer in array que isset??? Si haces is_array sobre $_POST['servicio'], y no existe $_POST['servicio'], php generará un Notice por Undefined Index.
isset($_POST['servicio']) es un test por si existe esa key.is_array() verifica que, además, sea un array. |