PHP : OR operator
PHP : OR operator
Out of context: Reply #7
- Started
- Last post
- 7 Responses
- enobrev0
$poo = 'PR';
switch ($poo) {
case 'CO':
case 'PR':
echo 'Hooray';
break;default:
// do nothing
break;
}
$poo = 'PR';
switch ($poo) {
case 'CO':
case 'PR':
echo 'Hooray';
break;
default:
// do nothing
break;
}