Ver Mensaje Individual
  #5 (permalink)  
Antiguo 18/03/2015, 13:37
Burlon23
 
Fecha de Ingreso: marzo-2015
Ubicación: Buenos Aires
Mensajes: 32
Antigüedad: 10 años
Puntos: 0
Respuesta: error codigo else en php

Hola, intentalo asi:


Código PHP:
<?php

$palabra1 
$_GET["Hogar"];
$palabra2 $_GET["Empresa"];


if (
$palabra1 == $Hogar)
(
header ('Location: http://localhost/proyectos/portada.html'));


if (
$palabra2 == $Empresa)
(
header ('Location: http://localhost/proyectos/reporte3.html'));

?>
y dime si te funciono