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 are going to the if header.
any input as to how i can correct this is greatly appreciated.
You are using the assignment operator (=) instead of the equals comparison operator (==) which makes your if condition always true.

Larry


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to