I have a very simple IF statement...
if ($key == "listingURL" or
$key == "interiorColor" or
$key == "engine" or
$key == "transmission" or
$key == "stockNumber" or
$key == "VIN") {
// Do thing
}
But I'm receiving an error...
[23-Apr-2015 13:12:01 UTC] PHP Parse error: syntax error, unexpected T_VARIABLE in xxx on line xxx
Which is this line...
$key == "stockNumber" or
Is there a limit to the maximum amount of OR's, or am I missing something staring me right in the face?