Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/10/2010, 19:19
Grox
 
Fecha de Ingreso: mayo-2008
Mensajes: 82
Antigüedad: 16 años
Puntos: 3
Respuesta: error con $_POST['']

Código PHP:
if(!$_POST){
echo 
'Selecciona algun dato.';
exit;
}else{ 
//Si hay un valor

          
if($_POST['fec']){
          
$val $_POST['fec'];
          
$val2="fec";
          }
          if(
$_POST['rem']){
          
$val $_POST['rem'];
          
$val2="rem";
          }



creo que asi deberia funcionar...

Última edición por Grox; 23/10/2010 a las 19:31