Cita:
esto anda bien, puse un echo, y cuando recive parametros me los muestra y cuando no, no muestra nada.$idLibro = NULL;
if (isset($_GET['idLibro'])) {
$idLibro = $_GET['idLibro'];
}
if (isset($_GET['idLibro'])) {
$idLibro = $_GET['idLibro'];
}
mi problema es el siguiente
Cita:
if (isset($idLibro)) {
$subject = 'PuntoLibreria.com - Error - Id - , $idLibro';
}
else {
$subject = 'PuntoLibreria.com - Contacto';
}
if (isset($idLibro)) {
$subject = 'PuntoLibreria.com - Error - Id - , $idLibro';
}
else {
$subject = 'PuntoLibreria.com - Contacto';
}
siempre me devuelve el segundo, como si siempre fuera false, aunque el echo me muestre el valor que tomó,
si alguien me puede decir que estoy haciendo mal le agradezco muchisimo, voy a apretar F5 hasta que alguien me conteste.
![triste](http://static.forosdelweb.com/fdwtheme/images/smilies/frown.png)
gracias