CDE
This commit is contained in:
parent
518da4a923
commit
764da6cbbb
6144 changed files with 83610 additions and 11 deletions
22
Task/Conditional-structures/PHP/conditional-structures-1.php
Normal file
22
Task/Conditional-structures/PHP/conditional-structures-1.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
$foo = 3;
|
||||
|
||||
if ($foo == 2)
|
||||
//do something
|
||||
|
||||
if ($foo == 3)
|
||||
//do something
|
||||
else
|
||||
//do something else
|
||||
|
||||
if ($foo != 0)
|
||||
{
|
||||
//do something
|
||||
}
|
||||
else
|
||||
{
|
||||
//do another thing
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue