if ($category = 2 and $subcategory = 52)You are using the assignment operator (=) instead of the equals comparison operator (==) which makes your if condition always true.
elseif ($category = 2 and $subcategory = 50)
} , 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.
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php