I've hit a new road block on my VIN decoder page. I want to echo something only if two variables are true.
Here's what I want to do:
if (($Series == "D") && ($ModelYear == "2")){
echo "Skylark";
} else {
echo "This is not a valid Series";
}
When I type 4D27H2H111111 into the decoder, it yields the else statement. I have defined the two variables $Series
(the D in the above VIN) and $ModelYear
(the 2 in the above VIN) and I want to echo "Skylark" only if those two variables are true. For instance, if the VIN was changed to 4D27H4H111111, it would echo the else statement.
Thanks for the help,
Arthur Ash III