The problem is the you can't "nest" it like that. Think about what you are doing:
if (a == 1)
{
if (a == 2)
{
...
}
}
If
a
is equal to 1, then by definition it can't be equal to 2 as well - maths just doesn't work like that!
So when you find a match with 'BMW' then by definition the same value cannot be 'volkswagen' as well!
What you need to use is
elseif
:
PHP.net elseif/else if[
^]