Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 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