Hi everyone - Just a quick request for help please, I am trying to add two additional country codes to the following if statement.

if ($country_code == "GB"){

I would like to add or "sct" or "wls" - But everytime I try I get error messages...
Sorry if its a complete noob question...
Thanks in advance

Recommended Answers

All 2 Replies

if ($country_code == "GB" or $country_code == "SCT" or $country_code == "WLS")
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.