if-else condition

Code snippet of a if-else condition in PHP, Javascript

Code snippet of a if-else condition in PHP

Code snippet of a if-else condition in Javascript