Ver Mensaje Individual
  #9 (permalink)  
Antiguo 25/03/2009, 10:05
Pelao
 
Fecha de Ingreso: abril-2003
Mensajes: 260
Antigüedad: 21 años, 11 meses
Puntos: 1
Respuesta: SELECT de select marcados con checkbox

harvestmoon te estoy volviendo loco...aca al poner este codigo me devuelve siempre Array.

Código PHP:
<? 
require('configuracion.php');
require(
'funciones.php');

if(!empty(
$_POST['seleccion'])) {
$aLista=$_POST['seleccion'];
$sQuery="SELECT * FROM informes1 where id IN (".implode(',',$aLista).")";
echo 
$aLista;
}
?>
y si cambio $aLista=$_POST['seleccion']; por $aLista=$_POST['id']; me da el error

Warning: implode() [function.implode]: Bad arguments. in /www/pymgestiones/htdocs/informes/facturar.php on line 7

gracias por la ayuda
__________________
Bye!