Ver Mensaje Individual
  #12 (permalink)  
Antiguo 21/01/2009, 12:54
Avatar de acoevil
acoevil
 
Fecha de Ingreso: julio-2008
Ubicación: localhost/colombia/sevillaValle.php
Mensajes: 1.123
Antigüedad: 16 años, 7 meses
Puntos: 32
Respuesta: Problema con else

Un consejo utliza extract($_POST) y no tendras que utlizar esto



$vehiculo=$_POST['vehiculo'];

$afliacion=$_POST['afiliacion'];

$enero=$_POST['enero'];

$febrero=$_POST['febrero'];

$marzo=$_POST['marzo'];

$abril=$_POST['abril'];

$mayo=$_POST['mayo'];

$junio=$_POST['junio'];

$julio=$_POST['julio'];

$agosto=$_POST['agosto'];

$septiembre=$_POST['septiembre'];

$octubre=$_POST['octubre'];

$noviembre=$_POST['noviembre'];

$diciembre=$_POST['diciembre'];

$ano=$_GET['ano'];

http://www.php.net/extract de esa manera mejoras el codigo