Last active
January 31, 2021 01:07
-
-
Save dikiwidia/25aa9c3cd4e1afb68ca11d18fa2e899f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// init | |
$flow = [ | |
'pertama' => 'Bismillah dan Perencanaan', | |
'kedua' => 'Lamaran', | |
'ketiga' => 'Akad dan Resepsi' | |
]; | |
$status = "Lajang"; | |
$days = 365; | |
$plan = true; | |
// flow | |
echo $status; | |
echo "<br />"; | |
if($plan){ | |
for($i=0;$i<$days;$i++){ | |
if($i == 30){ | |
echo $flow['pertama'] .'<br />'; | |
} | |
if($i == 70){ | |
echo $flow['kedua'] .'<br />'; | |
} | |
if($i == 150){ | |
echo $flow['ketiga'] .'<br />'; | |
} | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment