de 2003 0:29
To: Addison Ellis
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] elseif with header
if ($category = 2 and $subcategory = 52)
{
header(Location:
http://www.vanderbilt.edu/register/ca/vacation_rentals.php;);
}
elseif ($category = 2 and $subcategory = 50)
{
header(Location
if ($category = 2 and $subcategory = 52)
{
header(Location:
http://www.vanderbilt.edu/register/ca/vacation_rentals.php;);
}
elseif ($category = 2 and $subcategory = 50)
{
header(Location:
http://www.vanderbilt.edu/register/ca/rentals.php;);
} , etc.
for some reason all the elseifs
You can just as simply include the files you need, there is no need for
using the headers.
Did the script return any errors?
-Oorspronkelijk bericht-
Van: Addison Ellis [mailto:[EMAIL PROTECTED]]
Verzonden: dinsdag 21 januari 2003 1:19
Aan: [EMAIL PROTECTED]
Onderwerp: [PHP-DB] elseif