php operators, common compare, etc.

Let us talk about scripts, HTML, Perl, PHP, apache, etc.
User avatar
Stevyn
SysOp
Posts:1786
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:
php operators, common compare, etc.

Post by Stevyn » Fri Jan 07, 2022 11:32 am

this OR that

Code: Select all

if ($country == 'Canada' OR $country == 'China'  ) { 

echo "Hello!";
}
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

Post Reply